I finally found the problem. In OnDataAvailable, in one of the cases Receive() did not read all the available data.
===8<==============Original message text=============== Just to add a bit to the description of the problem - the problem only happens when wsoNoReceiveLoop is used. -- 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