Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Releasing a Connection Manager connection in Pocket PC 2003

 
   Soft32 Home -> PDA -> Pocket PC Developer Networking RSS
Next:  802.11 Configuration  
Author Message
Frank

External


Since: Dec 30, 2003
Posts: 13



(Msg. 1) Posted: Mon Feb 02, 2004 7:56 am
Post subject: Releasing a Connection Manager connection in Pocket PC 2003
Archived from groups: microsoft>public>pocketpc>developer>networking (more info?)

Hello,

I am trying to use ConnMgrReleaseConnection to close a connection that I establish with ConnMgrEstablishConnectionSync. On PocketPC 2002, this causes the connection to close, but on PPC 2003, the connection stays open.

I don't want to go through the trouble of using RasHangUp, especially since I don't want to close the connection out from under anyone else that's using the connectoid at the moment. On PPC 2002, the system just kept a ref-count and closed the connection once all programs using it called ConnMgrReleaseConnection.

It may be that the connection just isn't meant to be closed in the new OS, but doesn't that cost people money if they're paying for connection time? The reason I mention this point is that when you click on the little connection icon in the title bar, the bubble that pops up doesn't have any "Disconnect" button like it did in PPC 2002. (Note, however, that the Connection Manager "Help" pages about "ending a connection" refer to a "Disconnect" button.....)

Any thoughts???

Thanks, Frank
Back to top
Login to vote
Randal Ramig [MS]

External


Since: Jan 09, 2004
Posts: 5



(Msg. 2) Posted: Tue Feb 10, 2004 7:55 am
Post subject: Re: Releasing a Connection Manager connection in Pocket PC 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What kind of connection, GPRS?

2003 was changed to hold certain connections open since they are only
charged per-byte, not by how much time they are open.

--
Randal Ramig
Software Development Engineer
Microsoft Mobile Devices Division

This posting is provided "AS IS" with no warranties, and confers no rights.


"Frank" <anonymous.TakeThisOut@discussions.microsoft.com> wrote in message
news:44CB5885-E3F2-4E8B-9D24-0FFAD5CF3988@microsoft.com...
> Hello,
>
> I am trying to use ConnMgrReleaseConnection to close a connection that I
establish with ConnMgrEstablishConnectionSync. On PocketPC 2002, this
causes the connection to close, but on PPC 2003, the connection stays open.
>
> I don't want to go through the trouble of using RasHangUp, especially
since I don't want to close the connection out from under anyone else that's
using the connectoid at the moment. On PPC 2002, the system just kept a
ref-count and closed the connection once all programs using it called
ConnMgrReleaseConnection.
>
> It may be that the connection just isn't meant to be closed in the new OS,
but doesn't that cost people money if they're paying for connection time?
The reason I mention this point is that when you click on the little
connection icon in the title bar, the bubble that pops up doesn't have any
"Disconnect" button like it did in PPC 2002. (Note, however, that the
Connection Manager "Help" pages about "ending a connection" refer to a
"Disconnect" button.....)
>
> Any thoughts???
>
> Thanks, Frank
>
>
>
>
>
Back to top
Login to vote
Pappu

External


Since: Feb 10, 2004
Posts: 1



(Msg. 3) Posted: Tue Feb 10, 2004 2:21 pm
Post subject: Re: Releasing a Connection Manager connection in Pocket PC 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Randal,
I am using PPC 2003 (phone Edition) and I am badly stucked in the
exactly same issue. I wanted to disconnect GPRS connection as soon I
am done using it. The release connection is not releasing the GPRS
connection. My purpose for disconnecting GPRS is to utilisze GSM
immediately after GPRS close. If I try to access GSM while GPRS is
connected, there is a huge delay in the transition. So I must close
the GPRS connection programatically. Please Help how to do it with PPC
2003 phone edition.

best regards,
Sachin Mahajan


"Randal Ramig [MS]" <randyram.DeleteThis@online.microsoft.com> wrote in message news:<#KisfCC8DHA.2116@TK2MSFTNGP10.phx.gbl>...
> What kind of connection, GPRS?
>
> 2003 was changed to hold certain connections open since they are only
> charged per-byte, not by how much time they are open.
>
> --
> Randal Ramig
> Software Development Engineer
> Microsoft Mobile Devices Division
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Frank" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
> news:44CB5885-E3F2-4E8B-9D24-0FFAD5CF3988@microsoft.com...
> > Hello,
> >
> > I am trying to use ConnMgrReleaseConnection to close a connection that I
> establish with ConnMgrEstablishConnectionSync. On PocketPC 2002, this
> causes the connection to close, but on PPC 2003, the connection stays open.
> >
> > I don't want to go through the trouble of using RasHangUp, especially
> since I don't want to close the connection out from under anyone else that's
> using the connectoid at the moment. On PPC 2002, the system just kept a
> ref-count and closed the connection once all programs using it called
> ConnMgrReleaseConnection.
> >
> > It may be that the connection just isn't meant to be closed in the new OS,
> but doesn't that cost people money if they're paying for connection time?
> The reason I mention this point is that when you click on the little
> connection icon in the title bar, the bubble that pops up doesn't have any
> "Disconnect" button like it did in PPC 2002. (Note, however, that the
> Connection Manager "Help" pages about "ending a connection" refer to a
> "Disconnect" button.....)
> >
> > Any thoughts???
> >
> > Thanks, Frank
> >
> >
> >
> >
> >
Back to top
Login to vote
dave

External


Since: Jan 13, 2004
Posts: 174



(Msg. 4) Posted: Tue Mar 02, 2004 3:57 am
Post subject: Re: Releasing a Connection Manager connection in Pocket PC 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I would also like to know how to programmatically hang-up
a gprs connection as I can't seem to get our sockets to use a
Bluetooth connection if a gprs connection is open
(via ConnMgrEstablishConnectionSync).

"Randal Ramig [MS]" <randyram.DeleteThis@online.microsoft.com> wrote in message
news:#KisfCC8DHA.2116@TK2MSFTNGP10.phx.gbl...
> What kind of connection, GPRS?
>
> 2003 was changed to hold certain connections open since they are only
> charged per-byte, not by how much time they are open.
>
> --
> Randal Ramig
> Software Development Engineer
> Microsoft Mobile Devices Division
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Frank" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
> news:44CB5885-E3F2-4E8B-9D24-0FFAD5CF3988@microsoft.com...
> > Hello,
> >
> > I am trying to use ConnMgrReleaseConnection to close a connection that I
> establish with ConnMgrEstablishConnectionSync. On PocketPC 2002, this
> causes the connection to close, but on PPC 2003, the connection stays
open.
> >
> > I don't want to go through the trouble of using RasHangUp, especially
> since I don't want to close the connection out from under anyone else
that's
> using the connectoid at the moment. On PPC 2002, the system just kept a
> ref-count and closed the connection once all programs using it called
> ConnMgrReleaseConnection.
> >
> > It may be that the connection just isn't meant to be closed in the new
OS,
> but doesn't that cost people money if they're paying for connection time?
> The reason I mention this point is that when you click on the little
> connection icon in the title bar, the bubble that pops up doesn't have any
> "Disconnect" button like it did in PPC 2002. (Note, however, that the
> Connection Manager "Help" pages about "ending a connection" refer to a
> "Disconnect" button.....)
> >
> > Any thoughts???
> >
> > Thanks, Frank
> >
> >
> >
> >
> >
>
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
I want to develop my custom connection manager to work tog.. - Hi all. First, my environment is under PPC2003. also adjustment of PPC's BSP is available. Now I am working on develop...

Connection without ActiveSync... - Hi, it's my first day in this newsgroup and I would like to know if there is a way to connect my Pocket PC to internet ...

PHONE EDITION and GPRS Connection - Hi everybody, i'm trying to create and manage a GPRS connection on XDA (Pocket PC phone Edition) using embedded Visual ...

TCP/IP connection over USB - Hello, I would like to establish a TCP/IP connection over USB. I've read that this should be possible by establishing ...

CF2003: Reactivate TCP connection after standby - Hi! I've written a client application using VB.Net Compact Framework 2003 and System.Net.Sockets.Socket. When the Po...

MDAC update disabled wireless connection - I just installed a windows security update related to MDAC for a client. The four handhelds they have that were connect...
       Soft32 Home -> PDA -> Pocket PC Developer Networking All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]