DOKK / manpages / debian 12 / wget2-dev / libwget-ip.3.en
libwget-ip(3) wget2 libwget-ip(3)

libwget-ip - IP address functions


bool wget_ip_is_family (const char *host, int family)

Routines to check IP address formats.

Parameters

host Host/IP string
family IP address family

Returns

1 if host matches is of family
0 if host does not match family

This functions checks if host matches the given family or not.

Generated automatically by Doxygen for wget2 from the source code.

Tue Jan 26 2021 Version 1.99.1