[twsocket] TWSocket - OnDataSent and ReadCount

2006-10-30 Thread John Barrat
I seem to get the OnDataSent event when I initially connect to a socket and before sending any data - is this correct? 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

Re: [twsocket] TWSocket - OnDataSent and ReadCount

2006-10-30 Thread Francois PIETTE
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