CTL_STATUS_t ctl_tcp_set_socket_options(CTL_SOCKET_t s, const CTL_TCP_SOCKET_OPTIONS_t *options);
ctl_tcp_set_socket_options copy the data pointed to by options to the set of values used by socketsoc. This call should be made prior to a connection being established with a remote TCP. For a client socket, it means that the application layer should only use this function between the calls to ctl_tcp_socket and ctl_tcp_connect. For a server socket, it means that the appropriate place to call ctl_tcp_set_socket_options is in the ‘accept’ callback function.