Re: Host IP Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2010 Daniel P. Berrange scripsit:

> Never use gethostbyname in any new code. It is long since obsolete, not
> thread safe and is hardcoded to only work with IPv4.

> There is a good exmaple of how to use the modern replacemenbt, getaddrinfo(),
> to resolve hostnames here:

>  http://people.redhat.com/drepper/userapi-ipv6.html

Oh, sorry, I wasn't aware of that. Thank you for the hint.

Ciao
Max
-- 
Alles sollte so einfach wie möglich gemacht sein.
Aber nicht einfacher.  (Einstein)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]