PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework manually closing the GPRS connection?

Reply

manually closing the GPRS connection?

 
Thread Tools Rate Thread
Old 07-03-2007, 08:11 PM   #1
Milsnips
Guest
 
Posts: n/a
Default manually closing the GPRS connection?


Hi there,

i know that the OpenNetCF.ConnectionManager doesnt close the gprs connection
completely, can anybody tell me if its the "ConnMgrReleaseConnection" API
that can do the job, or should i be looking somewhere else?

thanks,
Paul


  Reply With Quote
Old 07-03-2007, 08:18 PM   #2
Guest
 
Posts: n/a
Default Re: manually closing the GPRS connection?

No, the ConnectionManager simply informs the system it's not using the
connection any more (which is why ours doesn't actually close the
connection). To forcibly close it you must use RAS.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Milsnips" <milsnips@hotmail.com> wrote in message
news:OLWCnTPYHHA.4440@TK2MSFTNGP03.phx.gbl...
> Hi there,
>
> i know that the OpenNetCF.ConnectionManager doesnt close the gprs
> connection completely, can anybody tell me if its the
> "ConnMgrReleaseConnection" API that can do the job, or should i be looking
> somewhere else?
>
> thanks,
> Paul
>



  Reply With Quote
Old 07-03-2007, 08:40 PM   #3
Milsnips
Guest
 
Posts: n/a
Default Re: manually closing the GPRS connection?

Hi Chris.

Thanks for the info. Unfortunately i had to stop using the OpenNetCF
framework and instead found a class that just handles GPRS connection only,
as the ConnectionManager has been giving me problems with random occassions
not wanting to connect, and in recent days it just doesnt want to connect to
internet at all.

Reason being is that my user will either connect via WIFI, ActiveSync or
GPRS, so as soon as gprs connection is finished being used, i want to drop
it totally incase a WIFI connection comes available to which it can
automatically connect..

I'll have a look into RAS and see what options i have here.

thanks,


"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:u%23Zq$WPYHHA.3268@TK2MSFTNGP04.phx.gbl...
> No, the ConnectionManager simply informs the system it's not using the
> connection any more (which is why ours doesn't actually close the
> connection). To forcibly close it you must use RAS.
>
>
> --
> Chris Tacke - Embedded MVP
> OpenNETCF Consulting
> Managed Code in the Embedded World
> www.opennetcf.com
> --
>
>
> "Milsnips" <milsnips@hotmail.com> wrote in message
> news:OLWCnTPYHHA.4440@TK2MSFTNGP03.phx.gbl...
>> Hi there,
>>
>> i know that the OpenNetCF.ConnectionManager doesnt close the gprs
>> connection completely, can anybody tell me if its the
>> "ConnMgrReleaseConnection" API that can do the job, or should i be
>> looking somewhere else?
>>
>> thanks,
>> Paul
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off