<div dir="ltr">2013/9/24 Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graeme@geldenhuys.co.uk" target="_blank">graeme@geldenhuys.co.uk</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On 23/09/13 21:03, silvioprog wrote:<br>
> How do I stop the socket before finishing my application?<br>
<br>
</div>I've been unsuccessful with that myself, and mentioned it to Michael van<br>
Canneyt. I tried everything I could thing of, and nothing worked. I was<br>
using Windows. I haven't tested under Linux or FreeBSD yet.<br>
<br>
In the mean time I switched my app to using Synapse's HTTP Server<br>
instead of the Free Pascal one. With Synapse and Indy components I can<br>
stop the HTTP Server without problems.<br>
<br>
Regards,<br>
Graeme</blockquote></div><div><br></div><div>I'm using Windows too.</div><div><br></div><div>In TcpIpComp (<a href="https://github.com/silvioprog/tcpipcomp">https://github.com/silvioprog/tcpipcomp</a>) I had to add a property to indicate that the program was ending. This fixed the problem.</div>
<div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>