What is the simplest code I could put in to see if my machine has been pinged. Maybe just a form that would display a message when someone pinged you.
thanks for any help
Printable View
What is the simplest code I could put in to see if my machine has been pinged. Maybe just a form that would display a message when someone pinged you.
thanks for any help
Hi,
I do not think what you ask is possible in VB. It could be done in VC (probably, I'm not a VC expert), but not in VB. The problem here is that VB can only use TCP or UDP based connections and that a ping is an ICMP connection. So there is no way for VB to know when you've been pinged.
Oh, and next time, you should ask your question in the internet-related forum :).
thanks