Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The following is a snippet of code I use to check if the cosket was successfull and return open results.
Is there something wrong with this check that would cause tcp to run fine but not udp?if(IO::Socket::INET->new(PeerAddr => $ARGV[0], PeerPort => $port, Proto => 'udp')) { print "port: $port is open!\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Socket::INET issues?
by jdalbec (Deacon) on Jul 17, 2004 at 01:38 UTC | |
by Anonymous Monk on Jul 17, 2004 at 02:02 UTC | |
by pg (Canon) on Jul 17, 2004 at 02:42 UTC |