["Alexander V. Lukyanov" <lav@long.yar.ru>] libc/1096: gethostbyname fails to handle addresses like 10.1234

Alexander V. Lukyanov lav@long.yar.ru
Tue Apr 27 17:26:00 GMT 1999


On Sun, Apr 25, 1999 at 10:49:56PM +0200, Andreas Jaeger wrote:
> Now the questions are:
> - should gethostbyname accept "10.1234" ?

It does under several os. (Also I was told it does under linux/libc5)

> - should inet_pton accept "10.1234" ?

It does not under solaris7.

   Alexander.



More information about the Libc-hacker mailing list