int silc_net_get_socket_opt(int sock, int level, int option,
void *optval, int *opt_len);
DESCRIPTION
Return socket options to the `optval' and `opt_len'. This routine
can only be used with POSIX compliant systems. This call is
equivalent to getsockopt(2).