summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-30 15:59:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-30 15:59:57 +0000
commit7137b697ec555c9b289c3e73574e70805cde732d (patch)
tree8e47527566d1122db378db681bfeb200d2de5a6b /pod
parentd69d2d9f0d14e0c849a4b59d442938c401a7f281 (diff)
downloadperl-7137b697ec555c9b289c3e73574e70805cde732d.tar.gz
A bit of networking notworking negativity.
(Inspiration from Jos.) p4raw-id: //depot/perl@19641
Diffstat (limited to 'pod')
-rw-r--r--pod/perlport.pod14
1 files changed, 14 insertions, 0 deletions
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