is there a way to print the output of what the server will print. Like lets say i got this code
use IO::Socket;
$socket = IO::Socket::INET -> new (PeerAddr => "www.host.com", PeerPort => 80, Proto => "tcp") || die "Can't connect to the host";
print $socket "Hello, There!\n";
So is there a way to print on my screen what the
www.host.com will print on his
like Unrecongnized commnad or just a plain window or Premission Denied.