See above. Pausing/resuming the socket shouldn't be used, specially if you
have your own worker thread. Just have the socket event handler blocked
waiting for some synchronization object.

You mean blocking the entire message loop?

Yes, indeed. If you don't want any socket event while outside of an exported fDLL function call, then it is enough to block the thread message pump which is only used for socket handling. This would effectively block any socket activity - and of course any event - when not in the context of a called function.

--
francois.pie...@overbyte.be
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

Reply via email to