BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-18-2008, 04:27 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Mar 2008
Model: 8800
Carrier: cingular
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection Time Out Issue

Please Login to Remove!

I'm having a pretty strange issue when trying to open up an httpconnection.

When i'm in coverage and wireless is turned on. I can make an httpconnection with no problems at all.

When I exit my application and turn the wireless off and try to make an httpconnection it obviously wont connect, no worries.

But when I exit the app and turn wireless back on and try to make an httpconnection. It wont connect. It will just time out.

It will hang when i execute the code

int status = httpConn.getResponseCode();

and eventually time out.

I've duplicated this on models 8307e, 8800, and the Bold. Even the 8800 simulator.

Anyone have any ideas on this? Any help would be appreciated.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.