<
sonnic...@gmail.com> wrote in message
news:5a472dd6-705a-4b12...@googlegroups.com...
[...]
> I tried to my my TClientSocket in a thread, but now I face a new
> problem. The thread will stop and wait when I enter the repeat
> below - which not the idea of a thread.
I'll respond to just this bit, as my knowledge of threads is limited.
Stopping and waiting _is_ the idea of a thread. You put something in
a different thread just so the waiting happens somewhere else, and
the main thread can go on its merry way responding to input and
updating the screen.
That said, the thread should be waiting for the socket, not the other
way around.
Groetjes,
Maarten Wiltink