I wrote a small application via Socket programming that pings one of our network
servers using an IP address and the servers echo port (#7). I have a total
of 15 servers and only one is available through the echo port, the others
are using the ICMP protocol. The same routine that is running OK with the
echo port fails on the servers using ICMP.
Does anyone know how to ping a server that is configured using the ICMP protocol?
for the format of the Echo packet which you'll need to build. You'll have
to create a Server Socket to receive the responses to the packets that you
send out.
Hope that helps.
Cheers
syed zulfiqar
"JAB" <brunoj@netcarrier.com> wrote:
>
>I wrote a small application via Socket programming that pings one of our
network
>servers using an IP address and the servers echo port (#7). I have a total
>of 15 servers and only one is available through the echo port, the others
>are using the ICMP protocol. The same routine that is running OK with the
>echo port fails on the servers using ICMP.
>
>Does anyone know how to ping a server that is configured using the ICMP
protocol?
>
>Thanks
>JAB
>