connectionlist FindConnectionByRemoteIPStr method
Return to Introduction  Previous page  Next page
Applies to
acConnectionList component.  

Declaration
function FindConnectionByRemoteIPStr(const RemoteIPStr: String; Proto: TacConnectionProto = pAny): TacConnection;  

Description
The FindConnectionByRemoteIPStr method searches for the connection where the remote IP address is the same as specified in RemoteIPStr parameter and protocol is the same as specified in Proto parameter (or returns any connection, either TCP or UDP, if Proto is pAny).  
 
Function returns pointer to TacConnection object if the connection was found in the internal list of component, or nil if the connection with specified RemoteIPStr not found.  

See also
FindConnectionByLocalPort, FindConnectionByRemotePort, FindConnectionByLocalIPStr,  
FindLocalIPStrByLocalPort, FindLocalIPStrByRemotePort, FindRemoteIPStrByLocalPort and FindRemoteIPStrByRemotePort methods.