|
Posted by Amit on February 22, 2007, 1:56 am
Please log in for more thread options
Check for NOTIFICATION_EVENT_NET_CONNECT
Hope it helps.
--
Thanks and Regards
Amit Ranjan
blog:http://amitranjan.wordpress.com
"rajmohanbanavi@gmail.com" wrote:
> Folks,
>
> I have an app that I woule like to keep waiting for a wifi network
> connection and as soon as one is available, should talk to an external
> server on the internet. I can detect the availability of the network
> using the MEDIA_CONNECT via NDISUIO_DEVICE_NOTIFICATION. However, I
> can not use the same to start connecting to the server on the internet
> since if the user has DHCP enabled for the connection, the client app
> would have to wait for the dhcp to be over. Then only the app would
> need to connect to the server.
>
> Is there a way (in addition to media is available) to know that the
> DHCP succeeded? any notification mechanism?
>
> Thanks in advance..
>
>
|