[fpc-pascal] SSocket: TSocketServer.StopAccepting

Michael Green myatus at googlemail.com
Sun Aug 31 01:01:25 CEST 2008

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

More information about the fpc-pascal mailing list