in reply to don't die, retry

Thanks for the suggestions. They do not seem to work, however I have a theory why.

Both of these assume that it is failing at this point:  $sock->send($request) or die "send: $!"; It's not, however. I think this is why. Since I'm using UDP, as long as it actually sends the packets away, it does not die here. If it were a TCP connection, it would fail the handshake and die here, but with UDP it does not seem work that way.

Very soon after sending, though, it does get the ICMP unreachable error, and the Perl error is actually "Connection Refused". I need to figure out how to trap that error.

jgentry@swcp.com