Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: TCP connection problem

As this is a new problem, I suggest you start a new Thread.

 

I have not had any problems using ";interface=wifi" (note the preceding ";") on a device with no SIM.  Check that it has WiFi connectivity using the HotSpot Browser.  If your checks still show a problem you don't understand, then start a new Thread.

Please use plain text.
New Developer
nnvnaveen
Posts: 36
Registered: 10-29-2009

Re: TCP connection problem

Hi,

 

I Started a new thread for making Httpconnection with WIFI connectivity. I am getting tunnel Exception.

 

Naveen

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: TCP connection problem

"I Started a new thread for making Httpconnection with WIFI connectivity."

 

Sorry I can't find it.  Are you sure? 

 

"I am getting tunnel Exception."

 

If you are getting a tunnel exception you are NOT using WiFi, you are almost certainly using direct TCP which is the default connection method for many hand held devices.

 

Does the device you are testing support WiFi?  Are you sure you have specified the URL correctly to use WiFi?  Please answer in your new Thread.  Cheers

Please use plain text.
New Contributor
nanoeric
Posts: 7
Registered: 03-27-2011
My Carrier: peoples

Re: TCP connection problem

Hi everyone,

 

I can get http via direct tcp by passing "deviceside=true" in url ", but the problem is, I fail to get http at the second time.  I check it in the debugger, I found that a "Choking Tunnel.open due to 'max tunnels' error; id=2". Do anyone have idea?

 

I know that there are a limit on the number of connection via direct tcp, so i close the connection after the process of  the first get http. But I still got "Choking Tunnel.open due to 'max tunnels' error; id=2"!!!


tejaswini wrote:

Hi,

I am trying to connect to a remote server through socket connection from Blackberry Pearl 8100 device.

I am not able to connect.

I have set APN name provided by service provider.

Also, i am passing "deviceside=true" in url for direct tcp connection. I am not able to connect to server.

What can be done? Please help...

 

 


 

Please use plain text.