Create a client to connect to the server , send data and receive the data from socket :
use IO::Socket;
$sock = new IO::Socket::INET(
PeerAddr => "www.cyberarmy.com",
PeerPort => 80,
Proto => 'tcp') || die "Error creating socket: $!
";
close($sock);
for more click here: http://osix.net/modules/article/?id=441
No comments:
Post a Comment