BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-23-2008, 07:06 AM   #1
max82
New Member
 
Join Date: Oct 2008
Model: 8700
PIN: N/A
Carrier: eplus
Posts: 2
Default Socket problems

Please Login to Remove!

Hi there,

in our application we open a SocketConnection to a server and transfer about 200kb between BB and server (in turns, not at once). Somewhen, the screen blanks, the red LED turns on and the device restarts.

This error only occurs on OS 4.5, not on 4.3 or 4.2.1. We tried several 4.5 versions (4.5.0.69 and 4.5.0.55, by different providers) and this error is reproducable. When I figured out that the systems reboots exactly like the linger value was set (100 secs), I set it to 0. Nothing changed. But when I set RCVBUF and SNDBUF to Nokias defaults (4096 bytes instead of BB 65536 bytes), it sometimes, but not always, works. So it seems to be a networking issue. Everything works fine in the simulator. The devices we use are 8110, 8700g and 8800.

I tried to contact the RIM support but with no success as I cannot provide the source code because of many dependencies. But as far as I can see, we implemented it the way it is shown in the developer's guide.

I added "deviceside=true" (alternatively also with adding APN data) but it always says in the log APN: 'blackberry.net'. Is this right?

A workaround would be fine as I don't want to say to our customers that they have to downgrade their device to a specific version.

Any ideas?
Offline  
Old 10-24-2008, 02:50 AM   #2
max82
New Member
 
Join Date: Oct 2008
Model: 8700
PIN: N/A
Carrier: eplus
Posts: 2
Default

Okay, we finally found a workaround for this. The thing is, we implemented our own RPC library and are sending single data chunks to the server before we receive the answer. BB OS 4.5 seems to have problems handling this.

So now, we serialize the data to a byte array and then send this to the OutputStream. This way it works!
Offline  
Closed Thread


Thread Tools

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

Forum Jump

5IN1 40K Cavitation Ultrasonic RF Radio Frequency Vacuum Body Slimming Machine
$275.0
5IN1 40K Cavitation Ultrasonic RF Radio Frequency Vacuum Body Slimming Machine picture5 IN1 40K Cavitation Ultrasonic RF Radio Frequency Vacuum Body Slimming Machine
$325.0
5 IN1 40K Cavitation Ultrasonic RF Radio Frequency Vacuum Body Slimming Machine picture3-1 Ultrasonic 40k Cavitation RF Radio Frequency Lifting Slimming Machine US
$208.99
3-1 Ultrasonic 40k Cavitation RF Radio Frequency  Lifting Slimming Machine US picture5 in 1 RF Radio Frequency Cavitation Vacuum Ultrasonic Slimming Equipment USA
$259.0
5 in 1 RF Radio Frequency Cavitation Vacuum Ultrasonic Slimming Equipment USA pictureResistance Power Splitter Radio Frequency Divider 50 Ohms Professional High
$9.9
Resistance Power Splitter Radio Frequency Divider 50 Ohms Professional High picture






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