Synopsis
CTL_NET_PORT_t ctl_tcp_get_remote_port(CTL_SOCKET_t soc);
Description

ctl_tcp_get_remote_port returns the port number for the TCP partner of socket soc or zero if there is an error. The remote port is returned in network byte order.

See Also

ctl_tcp_get_local_port, ctl_tcp_get_remote_ip_addr