DragonFly On-Line Manual Pages

Search: Section:  


firedns_getname6(3)   DragonFly Library Functions Manual   firedns_getname6(3)

NAME

firedns_getname6 - Create a query to resolve an IPv6 address to a hostname

SYNOPSIS

#include <firedns.h> -lfiredns int firedns_getname6(const struct in6_addr *ip)

DESCRIPTION

firedns_getname6() creates and sends a request to resolve the IPv6 address ip to a hostname. 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

libfiredns(3), firedns_getresult(3), select(2) 2002-03-31 firedns_getname6(3)

Search: Section: