in reply to Re^4: Socket recv?
in thread Socket recv?
really should be:$socket->send ("example"\n");
ditto for the recv call.my $retval = $socket->send("example\n"); # make sure $retval is defined, and contains the length of the strin +g
As for closing the socket, I understand that *you* are not closing it, but there are 2 sides to every connection :).
|
|---|