Help for this page

Select Code to Download


  1. or download this
    $client = IO::Socket::INET->new("PeerAddr => "the.host.com", PeerPort 
    +=> 80, Type => SOCK_STREAM, Timeout => (How ever long you think it sh
    +ould wait for a reply)) or die $@;
    
  2. or download this
    bind(SOCKET, $client) or die "bind: $!";