PC Review


Reply
Thread Tools Rate Thread

manually closing the GPRS connection?

 
 
Milsnips
Guest
Posts: n/a
 
      7th Mar 2007
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
 
 
 
 
Guest
Posts: n/a
 
      7th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
 
Milsnips
Guest
Posts: n/a
 
      7th Mar 2007
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$(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPRS Connection Simone Microsoft Dot NET Compact Framework 4 29th Apr 2007 06:44 PM
Problem closing socket when connected over GPRS chris-s@mailcity.com Microsoft Dot NET Compact Framework 0 24th Nov 2006 02:45 PM
how to check wheather active sync connection or any connection is there(gprs,wlan) raghu Microsoft Dot NET Compact Framework 1 23rd Sep 2005 06:59 PM
Connection between PC and PDA through a GPRS connection. tcpListener. Problem: AcceptTcpClient() Izaskun Microsoft Dot NET Compact Framework 4 5th Apr 2005 07:44 PM
GPRS Connection =?Utf-8?B?TWFyYyBBbWJyb3NpdXM=?= Microsoft Dot NET Compact Framework 5 29th Jan 2004 03:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:55 PM.