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



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


VoIP-GSM Topex VoiBridge picture

VoIP-GSM Topex VoiBridge

$250.00



AVAYA VOIP DESK PHONE 9611G picture

AVAYA VOIP DESK PHONE 9611G

$13.00



Fortinet FON-570 VoIP Phone - Corded picture

Fortinet FON-570 VoIP Phone - Corded

$30.00



Allworx 9212L VoIP IP Business Telephone W/ Backlit Display - Black picture

Allworx 9212L VoIP IP Business Telephone W/ Backlit Display - Black

$19.99



Allworx VOIP Connect 536 VoIP Communication System Server w/ rack ears picture

Allworx VOIP Connect 536 VoIP Communication System Server w/ rack ears

$349.99



Zenitel TKIS-2 Vingtor Stentofon VOIP Intercom Module picture

Zenitel TKIS-2 Vingtor Stentofon VOIP Intercom Module

$299.99







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