GetClientLocalPort (open)

Get the port the client connects to

Syntax

LOADLIB "mod::system/lib/webserver.whlib";

INTEGER FUNCTION GetClientLocalPort()

Return value

INTEGER

The TCP port number, a number between 1 - 65535

Description

This function returns the local TCP port to which the client connected (ie, one of the webserver's listening ports)