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 connectionid
ID of connection to get the remote port number from
Return value
INTEGER
Integer containing the port number