You Are Here:

Community: Developer Discussion Boards

#1 Old Read from a secure socket always returns data - 2006-06-30, 12:50

Join Date: Jun 2006
Posts: 17
barnabyg
Offline
Registered User
We are seeing some strange behaviour when using SSL socket connections from various Nokia phones.

It is almost as if any call to the sockets InputStream read() method will return bytes, regardless of if there are any bytes in the receive buffer. The byte data returned is random data.

The same code works fine when on an unsecure socket.

Is this known behaviour at all?
Reply With Quote

#2 Old Re: Read from a secure socket always returns data - 2006-07-02, 21:30

Join Date: Jun 2006
Posts: 17
barnabyg
Offline
Registered User
I should add to this it may not be actually returning bytes, but the length returned by read() suggests it is.

We would normally block in the read() waiting for the next message, but instead it always returns. The simulators don't seem to show the same behaviour.

Any help out there?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure Socket read gets stuck in a loop on N70 device jestyjames Symbian Networking & Messaging 5 2007-01-08 11:02
Clarifications on User Data, User Data Binary and User Data Header saijee General Messaging 2 2004-09-15 23:47
Bluetooth L2CAP Socket: Read() vs. Recv() jamespinakis General Symbian C++ 2 2004-06-11 01:44
how to add HTTP header to data sent using socket? smallfish_ntu Symbian Networking & Messaging 3 2003-09-10 17:35
Bluetooth L2CAP Socket: Read() vs. Recv() jamespinakis Bluetooth Technology 1 2003-06-10 23:52

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia