getaddrinfo Reading IP Address value from res->ai_addr

Mark Andrews marka at isc.org
Fri Jan 13 23:07:02 UTC 2012


Note that the actual data returned may be bigger than what will fit
in a struct sockaddr.  If you need to save the results use struct
sockaddr_storage or family specific structures.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list