PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
manually closing the GPRS connection?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
manually closing the GPRS connection?
![]() |
manually closing the GPRS connection? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

