getRemotePort()

Return remote port address of connected client.

Syntax:
variable = getRemotePort( sock )

Example: