Click here to get back home

notification for dhcp success

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
notification for dhcp success rajmohanbanavi 02-21-2007
Get Chitika Premium
Posted by rajmohanbanavi on February 21, 2007, 9:45 pm
Please log in for more thread options
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..


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..
>
>

Similar ThreadsPosted
How to realize the function: change ip between dhcp and static ip ? May 8, 2006, 9:56 pm
Notification not vibrate August 3, 2005, 10:38 pm
socket notification December 27, 2005, 11:18 pm
how the get Battery Low notification? September 26, 2006, 6:29 pm
Shutdown Notification? September 27, 2006, 10:43 am
Notification Messages March 21, 2007, 7:37 am
Kill SMS Notification. October 4, 2007, 8:46 am
New SMS notification on WM 6.0 smartphone January 31, 2008, 7:57 pm
incoming call notification January 19, 2006, 1:43 am
Profile change notification March 8, 2006, 12:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap