abstract val localPort: Int
The port number on the local host to which this socket is bound.
The port number on the local host to which this socket is bound, -1 if the socket is closed, or 0 if it is not bound yet.