sanjay vyas
April 13th, 1999, 06:06 AM
Hi,
I need to dtect in my program if a machine is connected to the net. However, the machine can be dialing independently using RAS or even be behind a LAN/proxy.
I have tried using InternetGetConnectedState() however, it does not detect my machine as disconnected even when I physically disconnect my CAT 5 cable from the LAN (I am behind a LAN/Proxy)
I cannot depend on InetIsOffline() because shell32.dll version 4 is not a prerequisite for my program.
Can anybody help ?
Any input would be appreciated.
Thanx,
sanjay
I need to dtect in my program if a machine is connected to the net. However, the machine can be dialing independently using RAS or even be behind a LAN/proxy.
I have tried using InternetGetConnectedState() however, it does not detect my machine as disconnected even when I physically disconnect my CAT 5 cable from the LAN (I am behind a LAN/Proxy)
I cannot depend on InetIsOffline() because shell32.dll version 4 is not a prerequisite for my program.
Can anybody help ?
Any input would be appreciated.
Thanx,
sanjay