Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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.

New Developer
Posts: 36
Registered: ‎10-29-2009
My Device: Not Specified

Re: TCP connection problem

Hi,

 

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

 

Naveen

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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

Highlighted
New Contributor
Posts: 7
Registered: ‎03-27-2011
My Device: 9550
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...