Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

My VC program want to check internet connection. If no internet connection, some functions are disabled.

Can I use WSAYNCGETHOSTBYNAME( ) to detect internet connection (lan, ADSL, Wifi) ?


BR
Posted

1 solution

a quick search gave me this link,
http://stackoverflow.com/questions/2677702/detect-internet-v-local-lan-connection[^]

not sure whether this will work out.

jkchan
http://cgmath.blogspot.com/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900