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"; }
In reply to IO::Socket::INET issues? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |