port property

  1. @override
int get port
inherited

The port used 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 port => socket.port;