in reply to Re^2: Optimized remote ping (syn/ack)
in thread Optimized remote ping
I got the correct parameters,
$p->port_number("3000", "tcp");
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. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Optimized remote ping (syn/ack)
by BrowserUk (Patriarch) on Jul 17, 2015 at 19:05 UTC | |
by themonk (Acolyte) on Jul 17, 2015 at 19:49 UTC | |
by afoken (Chancellor) on Jul 17, 2015 at 20:03 UTC | |
by themonk (Acolyte) on Jul 18, 2015 at 08:12 UTC |