- or download this
use Socket;
use IO::Handle;
...
} else { die "connect failed\n" }
print $data;
- or download this
use strict;
use Socket;
...
close(SOCK);
print $data;
- or download this
use strict;
use IO::Socket;
...
$socket->recv($data,100);
print $data;