We don't bite newbies here... much | |
PerlMonks |
Re^3: Optimized remote ping (syn/ack)by themonk (Acolyte) |
on Jul 17, 2015 at 18:45 UTC ( [id://1135208]=note: print w/replies, xml ) | Need Help?? |
I got the correct parameters,
Explanation: getservbyname function takes the first parameter and sends its defined port to tcp. E.g., "ftp" => 22, "http" => 80 If custom port is to be mentioned, dont use "getservbyname". Correct me if my understanding is wrong. Thanks guys for all the help. BTW, the response time now is "5secs for 50 IP's" GREAT Response time. :-)
In Section
Seekers of Perl Wisdom
|
|