[fpc-pascal] How to close TInetServer without except?

Zaher Dirkey parmaja at gmail.com
Thu May 2 21:52:48 CEST 2013

On Thu, May 2, 2013 at 10:45 PM, silvioprog <silvioprog at gmail.com> wrote:

> Yes, but in this case, WaitFor blocks my app.

​Yes, but before terminate your socket/client connections, you need also
close the handle of it, or stop receive, it will return immateriality
without receive (with error), so all connections will drop, and you wait to
finish that.​

I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3

Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130502/2645e09a/attachment.html>

More information about the fpc-pascal mailing list