Hello All,

does OpenNETCF smart framework have a function that tells if active sync has
a connection to my PC?

Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by Alex

Alex
Mon Aug 23 15:44:37 CDT 2004

No, but you can check if Dns class can resolve PPP_PEER hostname. If so, the
device is in activesync session

--
Alex Feinman
---
Visit http://www.opennetcf.org
"jayderk" <jayderk@hotmail.com> wrote in message
news:%232mbLiUiEHA.384@TK2MSFTNGP10.phx.gbl...
> Hello All,
>
> does OpenNETCF smart framework have a function that tells if active sync
> has
> a connection to my PC?
>
>



Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by jayderk

jayderk
Mon Aug 23 16:20:44 CDT 2004

is there an example of this out in the world of code.


regards,
Jay


"Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
news:eHa#BIViEHA.3996@tk2msftngp13.phx.gbl...
> No, but you can check if Dns class can resolve PPP_PEER hostname. If so,
the
> device is in activesync session
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "jayderk" <jayderk@hotmail.com> wrote in message
> news:%232mbLiUiEHA.384@TK2MSFTNGP10.phx.gbl...
> > Hello All,
> >
> > does OpenNETCF smart framework have a function that tells if active sync
> > has
> > a connection to my PC?
> >
> >
>
>



Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by Alex

Alex
Mon Aug 23 17:18:58 CDT 2004

Just check that Dns.GetHostByName("PPP_PEER") returns a non-null value and
does not throw an exception.

--
Alex Feinman
---
Visit http://www.opennetcf.org
"jayderk" <jayderk@hotmail.com> wrote in message
news:uk28rbViEHA.2664@TK2MSFTNGP11.phx.gbl...
> is there an example of this out in the world of code.
>
>
> regards,
> Jay
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
> news:eHa#BIViEHA.3996@tk2msftngp13.phx.gbl...
>> No, but you can check if Dns class can resolve PPP_PEER hostname. If so,
> the
>> device is in activesync session
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "jayderk" <jayderk@hotmail.com> wrote in message
>> news:%232mbLiUiEHA.384@TK2MSFTNGP10.phx.gbl...
>> > Hello All,
>> >
>> > does OpenNETCF smart framework have a function that tells if active
>> > sync
>> > has
>> > a connection to my PC?
>> >
>> >
>>
>>
>
>



Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by Floris

Floris
Tue Aug 24 02:18:01 CDT 2004

also,.. if you have a connection with active sync, your pc will act as
192.168.55.100 and your ppc will respond to 192.168.55.101. This is only
valid between your pc and ppc.

Regards

Floris Briolas



Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by Floris

Floris
Tue Aug 24 02:26:59 CDT 2004

whoops,..

I forgot to mention: ONLY when connected trough usb!!! (perhaps alsom
serial)

Regards

Floris Briolas



Re: does OpenNETCF have a function that tells if active sync has a connection to my PC? by Alex

Alex
Tue Aug 24 02:31:26 CDT 2004

Yes, but that's configurable and can be changed. Also if the 192.168.55.0
subnet is in use, ActiveSync will choose a diferent address

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Floris Briolas" <fbriolas@NOSPAMTOMEPLZcrmvision.com> wrote in message
news:%23E8tEqaiEHA.1184@TK2MSFTNGP12.phx.gbl...
> also,.. if you have a connection with active sync, your pc will act as
> 192.168.55.100 and your ppc will respond to 192.168.55.101. This is only
> valid between your pc and ppc.
>
> Regards
>
> Floris Briolas
>