FindLocalIPStrByRemotePort method
|
acConnectionList component.
|
function FindLocalIPStrByRemotePort(RemotePort: Word; Proto: TacConnectionProto = pAny): String;
|
The FindLocalIPStrByRemotePort method searches for the connection where the remote port is the same as specified in RemotePort 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 the local IP address of connection (if such connection found in internal list), or empty string if connection with specified RemotePort doesn't exists.
|
FindConnectionByLocalPort, FindConnectionByRemotePort, FindConnectionByLocalIPStr, FindConnectionByRemoteIPStr,
|
FindLocalIPStrByLocalPort, FindRemoteIPStrByLocalPort and FindRemoteIPStrByRemotePort methods.
|