<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 2, 2013 at 10:45 PM, silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="gmail_extra"><br></div></div>Yes, but in this case, WaitFor blocks my app.</blockquote></div>
<br><div class="gmail_default" style="font-family:tahoma,sans-serif">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.</div>
<br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:courier new,monospace">I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3<br><br>Best Regards<br>Zaher Dirkey</span></div>
</div></div>