Your sub UDPing is either a closure or accesses lots of global variables. Can't tell which without more code. It appears likely that $remote is global - my $remote = IO::Socket::INET->new(... will restrict its scope.
Add
at the top to get useful messages about what else may be wrong.use diagnostics; use strict;
Many recent ms platforms have echo service turned off because of security problems in their implementation. Icmp ping is the usual victim, but other protocols may also be afflicted. Your sub issues die if it fails to connect.
After Compline,
Zaxo
In reply to Re: IO::Socket and windows
by Zaxo
in thread IO::Socket and windows
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |