- or download this
while(<$client>)
{ print $_;
print $client "Username $user Pass $pass";}
- or download this
print $client "Username $user Pass $pass";
while(<$client>)
...
<STDIN>; #read input from user (changes $_!)
print $client $_;
}
- 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,