> I was wondering about something concerning the OnDataAvailable event for
> Twsocket. If I assign a string to the receivestr function inside the
> OnDataAvailable event and I have lengthy processing do i miss other
> OnDataAvailable events and my string clears during the reassignment or is
> the data appended to the current buffer i'm processing?

Neither one.
You will not miss anything and nothing will be appened to your current buffer. 
Data will simply stay
where it is until your processing end. One more OnDataAvailable event will be 
triggered immediately.

Warning: Never call the message pump from your OnDataAvailable event !
btw: Long processing is a case where multithreading may be useful.

Contribute to the SSL Effort. Visit
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)

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

Reply via email to