Jump to content

Making a network connection error message when the connection is dropped.

- - - - -

  • Please log in to reply
1 reply to this topic

#1
cakebox

cakebox

    Newbie

  • Members
  • Pip
  • 1 posts
I work for a webcasting company and have been experimenting with a new broadcasting machine that is running winxp. The webcasting software runs in full screen all the time so you cannot see the operating system while it is running. Whenever there is a network connection problem there is no way of knowing since you cannot see any of XP and the software takes several minutes to tell you there is a problem. Is there a way to create a program that would imediately pop up an error message on top of a full screened window that tells you there is a connection problem?

The only thing i can think of is to create a program that generates a continuous ping to an external address and will kick up an error message when the destination is unreachable. Any help on this would be awesome. Thanks guys!

#2
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
Hi cakebox, welcome to CodeCall,

While continuous pinging is an option but perhaps the best choice is to detect when Windows report a dropping of a connection. I think this approach is more resource friendly (less cpu and network load).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users