numerouno543 0 Newbie Poster

Hello...
How can I check whether My computer is connected to the INternet or not using a C++ program..
I am using VC++ compiler......and OS is WinXP..
bye.