gethostbyname('localhost') is not that portable.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Mar 2003 08:31:53 +0000 (08:31 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Mar 2003 08:31:53 +0000 (08:31 +0000)
commitef5a6dd776ac4bf49f73d33c2c15049c102661c0
treea90832ff6ed62ee440a41d6b8f9aeb5f1591d924
parentd89fc664c30eab1bd50f084f75c9996f69a7b7d0
gethostbyname('localhost') is not that portable.
inet_aton('localhost') in IRIX 5.3 returned an undef,
which in turn made pack_sockaddr_in to barf on zero
length in_addr.

p4raw-id: //depot/perl@19084
ext/Socket/Socket.t
pod/perlfunc.pod
pod/perlport.pod