Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # server
    ...
             print "thread ", threads->tid(), " received line: $line\n";
         }
     } ## end sub handleClient
    
  2. or download this
    #!/usr/bin/perl
    # client
    ...
    
         sleep 1;
     } ## end while (1)