man firedns_getip6list (Fonctions bibliothèques) - Create a query to resolve a hostname to a list of IPv6 addresses

NAME

firedns_getip6list - Create a query to resolve a hostname to a list of IPv6 addresses

SYNOPSIS

#include <firedns.h>

-lfiredns

int firedns_getip6list(const char * const name)

DESCRIPTION

firedns_getip6list() creates and sends a request to resolve name to a list of IPv6 address. It returns a file descriptor that should be select(2)'ed upon (read set). When the file descriptor shows ready for reading, call firedns_getresult(3) to retrieve the results.

RETURN VALUE

Returns an integer file descriptor that can be used the same as any other file descriptor. Returns -1 on error.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO