inquisitivemind 0 Newbie Poster

Hi all,

I am writing an application which works in an intermittent internet connectivity environment. Is there someway to detect automatically the internet connectivity state.And to automatically sense changes in the state of connectivity.

I can only think along these lines .. a background service that tries to ping and sleeps if there is no connectivity and invokes my application if there is some connectivity ..

There should be better solutions i guess.

Also, I need this network awareness in windows system. A OS-agnostic solution is great as well , but i atleast need it in Windows .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.