silc_net_addr2bin

SYNOPSIS

    SilcBool silc_net_addr2bin(const char *addr, void *bin,
                               SilcUInt32 bin_len);

DESCRIPTION

Converts the IP number string from numbers-and-dots notation to binary form in network byte order. The address can be either IPv4 or IPv6 address.