Get the port to which the socket is bound locally.
If the socket is not bound to a port, 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 bound to a port, this function returns 0.