|Perl: the Markov chain saw|
IO::Socket to recvby dsb (Chaplain)
|on Feb 13, 2006 at 15:47 UTC||Need Help??|
dsb has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to open a socket to a service, send a message and receive a response. With the following code, I can do just that:
The trouble is that if the service is not functioning properly it does not respond, and so the call to recv hangs. It's okay if the server doesn't respond (that's kind of the point of this little smoke test), but I need to just get an empty response and move on...
This @ISA my( $cool ) %SIG