port property Null safety

int port

Returns the port used by this socket.

Throws a SocketException if the socket is closed.

Implementation

int get port;