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