Arno Garrels wrote:
> info2004 wrote:
> When the server closes the connection OnSessionClosed triggers. 
> In order to check whether component's internal send buffer is empty
> you have property BufferedByteCount.
> If your application has to close the connection when all data
> has been sent, you should use method ShutDown(1) from the OnDataSent
> event, this makes sure the receiver will receive everything.

I think that we are at cross purposes here. The OnDataSent event looks like it 
does not fire (sometimes) if the far end (server) closes the connection. Is 

The server gets the data, then closes the connection, and at my sending end if 
solely wait for OnDataSent, sometimes it does not happen, and I time out.

I just really want to make sure my assumption is correct before I can put this 
to bed.


> --
> Arno Garrels [TeamICS]

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to