Hello Hansi,
I am using Synapse for all my socket work, so this might be a bit
different for you. But for a blocking listener in a thread (waiting at
an Accept), I call AbortSocket. It immediately stops all work on the
socket and lets you do the things you need to do. I'm sure there's a
similar "Abort" function in the package you are using.
-- Mike
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal