Hi,
In my thread (I know, you don't need threads...), in the execute procedure,
should I call WSocket.ProcessMessages, or WSocket.MessagePump?
Are they the same? If not, what is the difference?
Thanks,
Andy
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http:/
> In my thread (I know, you don't need threads...), in the execute
> procedure,
> should I call WSocket.ProcessMessages, or WSocket.MessagePump?
>
> Are they the same? If not, what is the difference?
No, they are not the same.
Have a look at the source code and the comments in the source code. Th
Hi again,
When I got my grep correct, I found it in WSocket.pas.
Looks like they are the same when multithreaded is true.
...Andy
info2004 wrote:
> Hi,
>
> In my thread (I know, you don't need threads...), in the execute procedure,
> should I call WSocket.ProcessMessages, or WSocket.MessagePum
info2004 wrote:
> In my thread (I know, you don't need threads...), in the execute
> procedure, should I call WSocket.ProcessMessages, or
> WSocket.MessagePump?
TWSocket.ProcessMessages processes pending messages once and returns.
You should call TWSocket.MessageLoop instead since it waits for