> > Wrong. Sending and receiving both use messages, even if in
> > some cases it seems to be direct.
> So the sending part must be in another thread and call MessageLoop as well
> until the OnDataSent terminates the thread? Or how can I do this?
A single thread can handle hundreds of event driven component. No need to
have separate thread for sending and receiving. Remember you use threads not
for having multitask (it is automatic with ICS), but to be as independent as
possible from the host application that call your DLL.
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