Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-11-2009 07:50 AM
I am using "wifi" as preferrred mode of transport for sockets.
using connectionstring as follow
it is able to write some data to socket but after few secs this IOException "java.io.IOException: General socket error".
If i use MDS with connection string as follow:
it works great.
But I want to use only wifi bypassing "MDS/BES" which exists in between.
Can anybody suggest what could be done?
12-11-2009 11:57 AM
deviceside=true is not needed with interface=wifi.
Do you have access to that IP address via the WiFi network? Given the 10.... IP Address, I presume that you are attempting to access on of your company's server. Going via the BES you will be inside your company's firewall. The WiFi network you are on might not be.
12-12-2009 04:34 AM
Yes I am able to reach that local ip address via WiFi as its inside our wireless LAN. I have made successfull HTTP connection
to it using (HttpConnection)Connector.open and it works perfectly fine over WiFi. But this problem comes in raw TCP sockets.
Any Idea what could be the reason ?
12-12-2009 09:03 AM
Sorry no idea, I use socket connections over WiFi no problem at all on all the devices I have tested. What device are you using? What size data are you attempting to send at a time? What OS level are you developing and and what OS Level is on the device. Can you try using WiFi on the Simulator to see if there is a problem using that.
You will information on using WiFi on the Simulator in this post:
What can you do in the Simulator
Actually one thought, I wonder if this is split pipe exception. Need to think about that.
Can you look at the log at the time you get the exception and tell us what log entries you see immediately preceding it?
12-12-2009 12:49 PM
I tried that wifi on simulator thing its working perfectly fine on simulator.
Its on the device that error is coming. I will post more details on traffic and logs soon.