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 connectionidID of connection to get the local port number from
Return value
INTEGERInteger containing the port number