net-coroutines / org.apache.tuweni.net.coroutines / CoroutineNetworkChannel / localPort

localPort

abstract val localPort: Int (source)

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.