Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Socket;
    ...
       print "Connection recieved from $name\n";
       close NEW_SOCKET;
    }
    
  2. or download this
    use strict;
    use Socket;
    ...
            print "$line\n";
    }
    close SOCKET or die "close: $!";