I've found that the Timeout parameter, when set in the new() method, has no effect if the remote device is not responding.. in which case an alarm() within an eval { } does actually help.
As for attempting to send to a down-host, I have little experience with this, other than using IO::Select and syswrite() to make sending non-blocking, and implementing application-level timeouts to protect against a host going down in the middle of a process.
In reply to Re: print $socket $message
by monarch
in thread print $socket $message
by serg_remote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |