From 7137b697ec555c9b289c3e73574e70805cde732d Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 30 May 2003 15:59:57 +0000 Subject: A bit of networking notworking negativity. (Inspiration from Jos.) p4raw-id: //depot/perl@19641 --- pod/perlport.pod | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pod/perlport.pod') diff --git a/pod/perlport.pod b/pod/perlport.pod index cdf30ab18a..45deaac333 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -487,6 +487,20 @@ To convert $Config{perlpath} to a file pathname, say: if ($^O ne 'VMS') {$thisperl .= $Config{_exe} unless $thisperl =~ m/$Config{_exe}$/i;} +=head2 Networking + +Don't assume that you can reach the public Internet. + +Don't assume that there is only one way to get through firewalls +to the public Internet. + +Don't assume that you can reach yourself or any node by the name +'localhost'. The same goes for '127.0.0.1'. + +Don't assume that any particular port (service) will respond. + +Don't assume that you can ping hosts and get replies. + =head2 Interprocess Communication (IPC) In general, don't directly access the system in code meant to be -- cgit v1.2.1