>I finally found the problem. In OnDataAvailable, in one of > the cases Receive() did not read all the available data.
I'm happy you found the problem ! > Just to add a bit to the description of the problem - the > problem only happens when wsoNoReceiveLoop is used. Wehn wsoNoReceiveLoop is used, the component doesn't loop until winsock says all data have been read. That's why the option is named wsoNoReceiveLoop ! That's not a bug. It is "as designed". Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be