---
name: "libwget-ip"
section: "3"
platform: "linux"
package: "wget2-dev"
version: "2.2.0+ds-1+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/libwget-ip"
---

# libwget-ip(3)

IP address functions

## NAME

libwget-ip - IP address functions

## SYNOPSIS

### Functions

bool **wget\_ip\_is\_family** (const char \*host, int family)\

## Detailed Description

Routines to check IP address formats.

## Function Documentation

### bool wget\_ip\_is\_family (const char \* host, int family)

**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.

## Author

Generated automatically by Doxygen for wget2 from the source code.
