firedns_getip4list(3)

NAME

firedns_getip4list - Create a query to resolve a hostname
to a list of IPv4 addresses

SYNOPSIS

#include <firedns.h>
-lfiredns
int firedns_getip4list(const char * const name)

DESCRIPTION

firedns_getip4list() creates and sends a request to re
solve name to a list of IPv4 address. It returns a file descrip
tor 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

libfiredns(3), firedns_getresult(3), select(2)
2004-02-12
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout