views:

62

answers:

1

Hi All,

I am using InternetGetConnectedState() to know, which connection is on.

I have both LAN and wireless modem connected on my system, but this function returns me that only LAN is connected.

why is this? and how to solved this

+2  A: 

What does your actual code look like? Are you taking into account that InternetGetConnectedState() returns a bitmask that can contain multiple values at one time?

Remy Lebeau - TeamB