in reply to Re^3: Recieving reply from a socket
in thread Recieving reply from a socket
use strict; use warnings; use IO::Socket::INET; my $socket = IO::Socket::INET->new(PeerAddr => "localhost", PeerPort => 12323, Proto => 'tcp'); print $socket "Hi!"; my $response = <$socket>; print $response; $socket->close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Recieving reply from a socket
by lostjimmy (Chaplain) on Mar 19, 2009 at 15:58 UTC | |
|
Re^5: Recieving reply from a socket
by Anonymous Monk on Mar 19, 2009 at 15:45 UTC |