remotePort property

  1. @override
int get remotePort
inherited

The remote port connected to by this socket.

Throws a SocketException if the socket is closed. The port is 0 if the socket is a Unix domain socket.

Implementation

@override
int get remotePort => socket.remotePort;