Re: [fpc-pascal] SSocket: TSocketServer.StopAccepting

2008-09-06 Thread Johann Glaser
Hi! > 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 > simil

Re: [fpc-pascal] SSocket: TSocketServer.StopAccepting

2008-08-30 Thread Michael Green
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 simil

[fpc-pascal] SSocket: TSocketServer.StopAccepting

2008-08-30 Thread Johann Glaser
Hi! I'm using the SSocket unit with TSocketServer (and TInetServer) for TCP/IP communication in a multi-threaded application. To listen (and accept) connections from a client the method StartAccepting is called. This is a blocking function. To quit the server I call StopAccepting. The implementat