# RemotePort

## Description

Returns the remote port associated with a specified socket handle.

## Remarks

Use this property to retrieve the remote port for a connected socket.

## Prototype

LONG CSockQ::RemotePort(long SocketHandle)
