Home All Groups Group Topic Archive Search About

How can my program know that Windows gets connected?

Author
16 Jun 2005 6:01 PM
alexcohn
I am building a service for Windows XP SP 2 and similar, which have the
built-in Wireless connection manager. The service should start its work
every time the user gets a new Wireless connection (let us assume that
802.1x authentication is disabled for this connection). I could poll
the network status often enough to keep track of the connection, but
isn't it a ridiculous waist of the CPU? Is there some system
notification that I could receive whenever a connection is established?

Author
16 Jun 2005 7:41 PM
Arkady Frenkel
How you can detect connection , look at
http://www.gershnik.com/faq/ma­nage.asp#internet ,
http://www.ndis.com/faq/QA0105­0301/default.htm and
http://www.ndis.com/faq/QA0504­0101.htm
Arkady

<alexc***@netvision.net.il> wrote in message
Show quoteHide quote
news:1118944865.725240.279670@g43g2000cwa.googlegroups.com...
>I am building a service for Windows XP SP 2 and similar, which have the
> built-in Wireless connection manager. The service should start its work
> every time the user gets a new Wireless connection (let us assume that
> 802.1x authentication is disabled for this connection). I could poll
> the network status often enough to keep track of the connection, but
> isn't it a ridiculous waist of the CPU? Is there some system
> notification that I could receive whenever a connection is established?
>
Author
19 Jun 2005 12:18 PM
alexcohn
??????? ???????
Author
19 Jun 2005 10:00 PM
Arkady Frenkel
ðÏÖÁÌÕÊÓÔÁ

<alexc***@netvision.net.il> wrote in message
Show quoteHide quote
news:1119183517.237848.58850@g47g2000cwa.googlegroups.com...
> óÐÁÓÉÂÏ ÂÏÌØÛÏÅ
>
Author
27 Jun 2005 7:16 PM
Guy Winslow
The links suggested don't appear to work any more and this semis to be and
age old problem with windows CE.  We have a similar situation where we need
to get web page from server when device is turned on.  But WiFi card is not
connected and Wininet.dll thinks everything is copasetic till it tries to
get the page.  Have tried suggestion from Televideo (TeleCLIENT), witch is
to look for driver then see if we have valid IP, but this tends to plow out
the Wininet.dll when the system is still coming up.  More then likely do to
the fact you have to call IOCTL wall network is connection.  Tried Microsoft
suggestion with is to look for not connected, but only works for wired
network connection.  So has any one been able to salve this in a manner that
do's not blow out any network stack parts or Wininet.dll?


--
Class Guy Winslow
{
public:
  WINcontrols
  H: 925-606-1091
  M: 925-922-0222
  gdwins***@wincontrols.com
};

Show quoteHide quote
"Arkady Frenkel" <arka***@hotmailxdotx.com> wrote in message
news:Oz09QNqcFHA.2736@TK2MSFTNGP12.phx.gbl...
> How you can detect connection , look at
> http://www.gershnik.com/faq/ma­nage.asp#internet ,
> http://www.ndis.com/faq/QA0105­0301/default.htm and
> http://www.ndis.com/faq/QA0504­0101.htm
> Arkady
>
> <alexc***@netvision.net.il> wrote in message
> news:1118944865.725240.279670@g43g2000cwa.googlegroups.com...
>>I am building a service for Windows XP SP 2 and similar, which have the
>> built-in Wireless connection manager. The service should start its work
>> every time the user gets a new Wireless connection (let us assume that
>> 802.1x authentication is disabled for this connection). I could poll
>> the network status often enough to keep track of the connection, but
>> isn't it a ridiculous waist of the CPU? Is there some system
>> notification that I could receive whenever a connection is established?
>>
>
>
Author
27 Jun 2005 7:41 PM
Eugene Gershnik
Guy Winslow wrote:
> The links suggested don't appear to work any more

The first link is mangled. Here is the correct version
http://www.gershnik.com/faq/manage.asp#internet

Author
28 Jun 2005 7:00 AM
Arkady Frenkel
Sorry , somehow '-' appeared inside the link , but it not appeared in the
link.
Arkady

Show quoteHide quote
"Guy Winslow" <guy***@hotmail.com> wrote in message
news:OWbCvy0eFHA.3836@tk2msftngp13.phx.gbl...
> The links suggested don't appear to work any more and this semis to be and
> age old problem with windows CE.  We have a similar situation where we
> need to get web page from server when device is turned on.  But WiFi card
> is not connected and Wininet.dll thinks everything is copasetic till it
> tries to get the page.  Have tried suggestion from Televideo (TeleCLIENT),
> witch is to look for driver then see if we have valid IP, but this tends
> to plow out the Wininet.dll when the system is still coming up.  More then
> likely do to the fact you have to call IOCTL wall network is connection.
> Tried Microsoft suggestion with is to look for not connected, but only
> works for wired network connection.  So has any one been able to salve
> this in a manner that do's not blow out any network stack parts or
> Wininet.dll?
>
>
> --
> Class Guy Winslow
> {
> public:
>  WINcontrols
>  H: 925-606-1091
>  M: 925-922-0222
>  gdwins***@wincontrols.com
> };
>
> "Arkady Frenkel" <arka***@hotmailxdotx.com> wrote in message
> news:Oz09QNqcFHA.2736@TK2MSFTNGP12.phx.gbl...
>> How you can detect connection , look at
>> http://www.gershnik.com/faq/ma­nage.asp#internet ,
>> http://www.ndis.com/faq/QA0105­0301/default.htm and
>> http://www.ndis.com/faq/QA0504­0101.htm
>> Arkady
>>
>> <alexc***@netvision.net.il> wrote in message
>> news:1118944865.725240.279670@g43g2000cwa.googlegroups.com...
>>>I am building a service for Windows XP SP 2 and similar, which have the
>>> built-in Wireless connection manager. The service should start its work
>>> every time the user gets a new Wireless connection (let us assume that
>>> 802.1x authentication is disabled for this connection). I could poll
>>> the network status often enough to keep track of the connection, but
>>> isn't it a ridiculous waist of the CPU? Is there some system
>>> notification that I could receive whenever a connection is established?
>>>
>>
>>
>
>