Get the port to which the socket is bound locally.
If the socket is not connected, this function returns 0.
Port to which the socket is bound.
See Implementation
Get the port to which the socket is bound locally.
If the socket is not connected, this function returns 0.