GetRemoteSocketPort (open)
GetRemoteSocketPort is used to get the remote port number from an open connection
Syntax
LOADLIB "wh::internet/tcpip.whlib";
INTEGER FUNCTION GetRemoteSocketPort(INTEGER connectionid)Parameters
INTEGER connectionidID of connection to get the remote port number from
Return value
INTEGERInteger containing the port number