Function WebSocketPeer.getConnectedPort

Returns the remote port of the connected peer. Note: Not available in the HTML5 export.

long getConnectedPort() nothrow @nogc const;