Help for this page

Select Code to Download


  1. or download this
      my $sock = IO::Socket::INET->new(
           OptionFoo => 1,
           OptionBar => 'something',
           OptionBaz => 10
        );
    
  2. or download this
      use strict;
      use warnings;
    ...
          Timeout  => '60'               # timeout in seconds
        );
      # rest of your code using $sock.