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


1PCS Brand New Schneider TSXMRPC001M Memory Card Module picture

1PCS Brand New Schneider TSXMRPC001M Memory Card Module

$499.99



New Factory Sealed AB 1747-M11 / B SLC Eeprom Memory Module 1747M11 picture

New Factory Sealed AB 1747-M11 / B SLC Eeprom Memory Module 1747M11

$79.80



New Factory Sealed AB 1747-M11 / B SLC 500 Eeprom Memory Module 1747M11 picture

New Factory Sealed AB 1747-M11 / B SLC 500 Eeprom Memory Module 1747M11

$85.00



New Factory Sealed AB 1766-MM1 SER A MicroLogix 1400 Memory Module Catalog picture

New Factory Sealed AB 1766-MM1 SER A MicroLogix 1400 Memory Module Catalog

$132.00



1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping picture

1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping

$267.00



Nightingale CXO 6200 Memory Foam, New Headrest, Lumbar Support Ergo Office Chair picture

Nightingale CXO 6200 Memory Foam, New Headrest, Lumbar Support Ergo Office Chair

$415.00







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