> - the receiving TWSocket can't be a static
> component on the datamodule
> because it has to be in a thread?

Yes, the component has to be _created_ within the context of the thread that 
will handle his events.
In case of TWSocket, you have ThreadDetach and ThreadAttach methods if it is 
not possible to create
the component within the thread execute. But those method have a drawback; 
between the two, the
component will not handle his events ! So it is much better to create the 
component directly in the
correct thread context.

> - the sending TWSocket doen't need to be created in an thread because that
> sends at once (nearly) without the need of windows messages

Wrong. Sending and receiving btoh use messages, even if in some cases it seems 
to be direct.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
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