Help for this page

Select Code to Download


  1. or download this
     while(<$client>)
         { print $_;
           print $client "Username $user Pass $pass";}
    
  2. or download this
      print $client "Username $user Pass $pass";
      while(<$client>)
    ...
        <STDIN>; #read input from user (changes $_!)
        print $client $_;
      }
    
  3. or download this
      $host = $ARGV[2]; #or whatever it is in your ARGV
      $port = $ARGV[4];
    ...
      my $client = IO::Socket::INET->new(
            PeerAddr => $host,
            PeerPort => $port,