Help for this page

Select Code to Download


  1. or download this
    #! perl -w
    use strict;
    ...
    while (print $con "ping\n") { print "*" ; sleep 1 ; } ;
    
    print "client ended: $!\n";
    
  2. or download this
    use strict ;
    use IO::Socket ;
    ...
    print " client hanging" ;
    
    while (1) { print "." ; sleep 60 ; } ;