GLBasic User Manual

Main sections

SOCK_GETREMOTEPORT()

ip% = SOCK_GETREMOTEPORT(sock%)



Returns the port of the connected remote computer. For UDP connections this value will be set with each SOCK_RECV call.

See also...