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

Declaration
function IsPortListening(Port: Word; Proto: TacConnectionProto = pAny): Boolean;  

Description
The IsPortListening method checks whether the specified Port currently in use. Optionally you can specify Proto parameter, if you wish to check some certain TCP or UDP port.  

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