remotePort property Null safety

int remotePort

Returns the remote port connected to by this socket.

Throws a SocketException if the socket is closed.

Implementation

int get remotePort;