![]() |
![]() ![]() ![]() |
acConnectionList component.
|
function FindConnectionByLocalIPStr(const LocalIPStr: String; Proto: TacConnectionProto = pAny;
|
ListeningPortOnly: Boolean = False): TacConnection;
|
The FindConnectionByLocalIPStr method searches for the connection where the local IP address is the same as specified in LocalIPStr parameter and protocol is the same as specified in Proto parameter (or returns any connection, either TCP or UDP, if Proto is pAny). Also it can search for connection which where the LocalPort is listening port, if ListeningPortOnly parameter is True.
|
|
Function returns pointer to TacConnection object if the connection was found in the internal list of component, or nil if the connection with specified LocalIPStr not found.
|
FindConnectionByLocalPort, FindConnectionByRemotePort, FindConnectionByRemoteIPStr,
|
FindLocalIPStrByLocalPort, FindLocalIPStrByRemotePort, FindRemoteIPStrByLocalPort and FindRemoteIPStrByRemotePort methods.
|