Philippe Fischer wrote:


Hello developers,
I have a problem with the SslRead() function, if there is a small amount
of data sended to the device my app hangs 60 seconds in this function until
SslRead() returns the data. I've tried setting IOTimeout and AppNetTimeout
without a result .


Without having used SSL Lib before: Have you tried to use SslReceive with a given timeout (0 for example)? Have you tried to read the data byte-wise (if this is possible at all with the underlying encryption algorithm)? I would expect the small amount of data is smaller than the internal buffer size. That's why the SslLib is waiting for more data to come to fill the buffer before it will be proceed and decrypt. Have a look into RbufSize for this.

Regards
Henk

--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to