Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
stoelman
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Jan 2003
Location: Dallas, TX
Default GPRS Dropping

I have vodafone (NL) as carrier, and everytime i connect to the gprs network it seems to drop the connection when it idles (when i'm not surfing) Is there a way to go around this time-out, since GPRS will only cost you, if you are ussing bandwidth. What i'm trying to do, is to have it online all the time for my instand messenger. would be really nice to have that. :lol:
 
vpreHoose
Old
#2  
Senior Member
Thanks Meter 1
Posts: 100
Join Date: Jan 2003
Default Blame MS

Inbox, Pocket Internet Explorer, MSN Messenger and all Microsoft apps bundled on the device will deactivate the GPRS connection after 10 minutes of inactivity. So much for "GPRS Always On".

That's the problem with American programers in general. They didn't live with GPRS day in, day out when writing Pocket PC 2002. They have it now, but that's too late.
 
stoelman
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Jan 2003
Location: Dallas, TX
is it not possible to run a small application that pings any IP address, in order to keep the connection up. could someone tell me if it's possible? i figured a ping does not take a lot of bandwidth, so i dont mind the 2kb a day for just pinging, i just wanna be "always connected"
 
datasafe
Old
#4  
Member
Thanks Meter 0
Posts: 75
Join Date: May 2003
Was there any resolution to this problem? I too need to leave MSN Messenger running on my journeys.

Also, I would like to use Yahoo Messenger - is this possible?

Regards

John
John Cooper
 
GBird
Old
#5  
Member
Thanks Meter 0
Posts: 40
Join Date: Jul 2005
Location: Coventry
Take a look at the link here:
http://eggheadcafe.com/articles/20020209.asp

It describes a ping utility for you. However, the Icmp socket type is not available (at least through C# Compact .NET framework on my PDA) so I ended up modifying it to use:
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
instead.

I did lots of modifications as I was using this for a very specific purpose but it was a good starting point.

Setting up a ping to a server will keep the connection alive if it is already up. I would suggest "playing" with the timing to keep bandwidth down and keep the connection up.

I know this post is old so this probably is not useful but others may run into it.

Hope this helps,
Graham.
Graham Bird
Application Developer
T@lecom Limited
Reliable, affordable solutions for a mobile world
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...