Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use IO::Socket;
    ...
     print $socket "GET / HTTP/1.0\n\n";
     print while(<$socket>);
     close $socket;
    
  2. or download this
    #!/usr/bin/perl
    use IO::Socket;
    ...
    shutdown(\*SSL,1);
    print while(<SSL>);
    close SSL;