silc_net_set_socket_opt

SYNOPSIS

    int silc_net_set_socket_opt(int sock, int level, int option, int on);

DESCRIPTION

Sets a option for a socket. This function can be used to set various options for the socket. Some of the options might be system specific. This routine can only be used with POSIX compliant systems. This call is equivalent to setsockopt(2);