port property Null safety
Returns the port used by this socket.
Throws a SocketException if the socket is closed.
Implementation
int get port;
Returns the port used by this socket.
Throws a SocketException if the socket is closed.
int get port;