connectionlist IsIncoming property
Return to Introduction  Previous page  Next page
Applies to
acConnection object.  

Declaration
property IsIncoming: Boolean;  

Description
The IsIncoming property determines whether the connection is incoming or outgoing.  
 
Original code
function TacConnection.GetIsIncoming: Boolean;  
begin  
  Result := (Owner <> niland (Owner is TacConnections) and  
            (TacConnections(Owner).IsPortListening(LocalPortProto));  
end;  

See also
LocalPort and Proto properties;  
IsPortListening method.