I am writing a DLL that will have two sockets managed by the same thread.
In the thread's Execute method I am calling the message pump from one of
the sockets.
My question: will this message pump also handle the messages of the second
socket?
For reference (and so others can check for errors), here is the thread's
constructor, destructor and Execute method:
You should create the TWSocket inside of the Execute method instead of the
constructor. Doing so you will avoid using ThreadAttach/detach. Use
Try/Finally to destroy the instances.
--
[email protected]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
--
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