The ping command sends ICMP packets. Your code sends SYN packets and expects ACK replies.
I recommend you consult with your network administrator how to best check the connectivity between hosts on your network.
In reply to Re^3: Net::ping is very unstable
by Corion
in thread Net::ping is very unstable
by hxbsy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |