port property

int port

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

int get port;