>I seem to get the OnDataSent event when I initially connect to a socket and > before sending any data - is this correct?
Yes. OnDataSent is triggered when all data has been sent /and/ at the start of connection when the component is ready to send something. > I am confused as to what the ReadCount is. Is it simply a sum of all the > bytes which have been read by the Received method since the session was > started or is the number of bytes waiting in the receive buffer. Bytes received. RcvdCount is the number of bytes being in the buffer but - as said in an MSDN arctile - is not reliable. Don't base your code on RcvdCount. -- 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