So will this code run in the background?

The reason i am pinging is to maintain communication - when the PINGing occures, the controller (running a C program) is already connected to my VB end and transfering data quite rapidly. The idea of the pinging it flag an error if the link goes down....for example, if the ethernet cable gets cut.

Im not sure if this code fits the bill?!? Or is there another way?

Matt