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


Certified OEM IBM Wheelwriter models 3 & 5 LCD Panel & cable assembly picture

Certified OEM IBM Wheelwriter models 3 & 5 LCD Panel & cable assembly

$10.00



OEM IBM Selectric II Key Tops & Parts picture

OEM IBM Selectric II Key Tops & Parts

$49.95



Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM picture

Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM

$12.00



New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks picture

New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks

$14.99



IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259 picture

IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259

$24.79



NEW Genuine OEM IBM Quietwriter Hi Density Correcting Ribbon 1299635 NOS picture

NEW Genuine OEM IBM Quietwriter Hi Density Correcting Ribbon 1299635 NOS

$19.99







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