Hi Lukas,

> version 1: incoming data are received in main thread and are written to
> buffer of client, client has own thread to process data in buffer
> version 2: data are received in client thread (in same way as in demo
> thread application)

Possible you have a trhead problem. Possible a thread is waiting for
another. On the other hand you have told that OnDataAvailable is called in a
closed loop. Please set wsoNoReceivedLoop to false. If OnDataAvailable is
not called contunously the you are pretty sure that is the problem, because
message pump is not running.

BTW: wy do you need multiple threads? Doing so is maybe the course of your
problem? If you only have 200 client TCP connections it is quite possible it
can be handled in main thread

mvg, Wilfried

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to