On Mon, May 26, 2008 at 11:10:46AM +0100, Stephane Chazelas wrote: > That breaks POSIX conformance. As per POSIX, gethostbyname() > should recognise the same IPv4 address notations as inet_addr(). > The spec for inet_addr() gives: Technically, POSIX marks it as Obsolescent and says that you shall not use it, so I don't know if you can make that claim.