in reply to Re: Optimized remote ping (syn/ack)
in thread Optimized remote ping
Hi BrowserUk,
For my problem, you have hit the solution right on target. I checked the code and its response time is really what i needed. But couldnt understand the below line,
I wanted to check reachability on the port '3000', so i modified it to below line,$p->port_number( getservbyname( "http", "tcp" ) );
$p->port_number( getservbyname( "3000", "tcp" ) );
But i think i made some mistake in the parameters as the code is still taking echo port(i.e., 7).
Please explain me the above line.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Optimized remote ping (syn/ack)
by themonk (Acolyte) on Jul 17, 2015 at 18:45 UTC | |
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 |