Hi, I have the following code - $socket new IO::Socket::INET ( PeerAddr => "localhost", PeerPort => 12323, Proto => 'tcp' )); print $socket "Hi!" print $socket "Aha, I see!" $socket->close(); The thing is, I'd like to listen to the replies I get when I send thes +e command, and perhaps I get reply... Anyway, how would I modify this code to print the replies I get. thank you!
In reply to Recieving reply from a socket by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |