GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
firedns_getip4list(3) FreeBSD Library Functions Manual firedns_getip4list(3)

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

#include <firedns.h>
-lfiredns

int firedns_getip4list(const char * const name)

firedns_getip4list() creates and sends a request to resolve name to a list of IPv4 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.

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

Ian Gulliver <ian@penguinhosting.net>

libfiredns(3), firedns_getresult(3), select(2)
2004-02-12

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.