Update:

it doesn't work using the SSL library even if I'm not using SSL...when I open the library I set the mode to Clear to avoid the use of SSL, and connect to a standard socket server, rather than our SSL server.  I write out the data...this works fine.  If I make an immediate call to SslRead(), it times out, and all subsequent calls to SslRead also timeout.  However, since I'm not using encryption now, I can use the standard Net Lib call: NetLibReceive(), which works flawlessly.

How can I get SslRead() to work?  I need to use SSL.

Thanks,

-Benjamin Bloomfield

On 3/15/06, Benjamin Bloomfield < [EMAIL PROTECTED]> wrote:
Hi all.

I have been having some strange troubles with the SSL library.  I write some data to the network, and then the server processes it and writes XML back.  It seems to work sending the data, but if I call SslRead() before the data has been written, no matter how many times I call SslRead() after the data has been written, it always returns an error (timeout).

Also, it _doesn't_ work sending the data if I set ReadStreaming to true.  (I had been setting this immediately after sending all the data).  If I wait after sending the data until the server has received it (by using breakpoints and watching the server) and then set ReadStreaming, everything works.

How can I get it to work without having to wait until the data has been sent to start trying to receive it?  Everything worked when I was just using the socket library.

Thanks,

Benjamin Bloomfield

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

Reply via email to