CTL_STATUS_t ctl_tcp_set_port_options(CTL_NET_PORT_t port, const CTL_TCP_PORT_OPTIONS_t *options);
ctl_tcp_set_port_options sets the server options for ‘bound’ TCP port port. The socDefault member of the port options only will be applied for newly-created sockets.
ctl_tcp_set_port_options returns CTL_NO_ERROR if the call was successful otherwise an error code if port is not a bound port.