summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:31:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:31:53 +0000
commitef5a6dd776ac4bf49f73d33c2c15049c102661c0 (patch)
treea90832ff6ed62ee440a41d6b8f9aeb5f1591d924 /pod/perlport.pod
parentd89fc664c30eab1bd50f084f75c9996f69a7b7d0 (diff)
downloadperl-ef5a6dd776ac4bf49f73d33c2c15049c102661c0.tar.gz
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
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r--pod/perlport.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index d74c0da306..b6aca781de 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -1636,6 +1636,11 @@ Not implemented. (S<Mac OS>, Win32, VM/ESA)
Not implemented. (S<Mac OS>, Win32, VMS, VM/ESA)
+=item gethostbyname
+
+C<gethostbyname('localhost')> does not work everywhere: you may have
+to use C<gethostbyname('127.0.0.1')>. (S<Mac OS>, S<Irix 5>)
+
=item gethostent
Not implemented. (S<Mac OS>, Win32)