RE: any help appreciated in creating c# functions for RasEnumConne
- From: Silviu Saulea <los_calibra@xxxxxxxxx>
- Date: Tue, 18 Mar 2008 19:09:47 -0700
Hello I tryed your code and finally it's something what is doing
something. Kills even the USB connection, and that's something (good to
know). But...
I programed not on the emulator (Pocket PC 2003 device) but directly on
a device with a proper GPRS connection set. It kills the connection, I
mean after I "RasHangUp(connections[i].hrasconn);" the IE doesen't find
any address, application eather. But still the status on GPRS antena
symbol (uper-side of the touchscreen) looks like connected.
After closing (killing) the connection in this maner, the GPRS won't try
to reconnect no mather what. What I'm trying to obtain here efectively
the same effect like closing (hang up) the GPRS manualy. I guess this
code is closing the connection in a logical (software) way.
I have the same problem with my devices, because I have a iLancher
application that blocks the user access on the device and reduce it only
at two buttons. The user can not manually disconnect the GPRS, and after
a while the connection becomes dead (still the antena symbol up on the
screen looks connected), and no answer from webservices. The only way
was to disconnect and reconnect and all was just perfect. But for that I
have to dinamically disconnect the GPRS. Not killing the connection but
efectively the phone part in the device to be hanged up.
Any help will be greatfully apreciated.
Thanks and thanks any way for your code, with this I feel that I'm one
step closer to solve my issue.
Silviu
*** Sent via Developersdex http://www.developersdex.com ***
.
- Prev by Date: Re: Connection to GPRS with P/Invoke
- Next by Date: Re: How to start the updated version of the running application.
- Previous by thread: OpenNETCF deploy error
- Next by thread: Re: UnauthorizedAccessException
- Index(es):