Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    while( my $client = $lsn->accept ) {
        close $client;
    }
    
  2. or download this
    C:\test>lsn 1025
    Only one usage of each socket address (protocol/network address/port) 
    +is normally permitted at C:\test\lsn.pl line 5.