 |
|
 |
|
Next: 802.11 Configuration
|
| Author |
Message |
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 |
|
 |  |
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 |
|
 |  |
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 |
|
 |  |
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 |
|
 |  |
|
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
|
|
|
|
 |
|
|