Synopsis
CTL_NET_PORT_t ctl_tcp_get_local_port(CTL_SOCKET_t soc);
Description

ctl_tcp_get_local_port returns the local port number for socket soc or zero if there is an error. The local remote port is returned in network byte order.

See Also

ctl_tcp_get_remote_port, ctl_tcp_get_remote_ip_addr