PDA

View Full Version : network status


daran_M
March 30th, 2004, 12:36 AM
HI experts...
i really need all your helps. I have setup a simple client/server model between two computers. I am trying to creating an application in visual basic such that if the communication link is not available (broken/removed) then it must trigger a message. I think I might have to use windows API for that but I am not too sure. Can you all please help me? I am really looking forward to your comments.

gmbastos
April 7th, 2004, 05:55 AM
I am not yet commited to development, but you could verify connection by sending 'ping' both to loopback interface and then to remote host.

If loopback returns but remote host does not, there is any problem in the network (or the remote host).

It is one kind of busy wait, but monitoring must be realtime?

If it must, you should consider going down to SNMP, RMON, MIB's and smart agents (in order to avoid busy waits in the process of data acquisition).

Hope this helps.

Have fun! :rotflmao: