Ping

  • Thread starter Thread starter cj
  • Start date Start date
C

cj

I tried "www.microsoft.com and it came back False. Google is True. Are
sites able to specify not to reply to ping commands? Could that be why
Microsoft retursn False?

I need to find a site to ping to make sure my internet connection is
working. What site would you suggest I use?

Try
MessageBox.Show(My.Computer.Network.Ping("www.google.com", 1000))
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
 
Yes, hosts may choose not to respond to ICMP ECHO (ping) requests, and
Microsoft's servers do not respond to them. I don't see any harm in using
Google.com, their servers respond to ping requests.

- Andrew
 
Thanks!

Andrew said:
Yes, hosts may choose not to respond to ICMP ECHO (ping) requests, and
Microsoft's servers do not respond to them. I don't see any harm in
using Google.com, their servers respond to ping requests.

- Andrew
 
Back
Top