2013/9/24 Graeme Geldenhuys <gra...@geldenhuys.co.uk> > On 23/09/13 21:03, silvioprog wrote: > > How do I stop the socket before finishing my application? > > I've been unsuccessful with that myself, and mentioned it to Michael van > Canneyt. I tried everything I could thing of, and nothing worked. I was > using Windows. I haven't tested under Linux or FreeBSD yet. > > In the mean time I switched my app to using Synapse's HTTP Server > instead of the Free Pascal one. With Synapse and Indy components I can > stop the HTTP Server without problems. > > Regards, > Graeme
I'm using Windows too. In TcpIpComp (https://github.com/silvioprog/tcpipcomp) I had to add a property to indicate that the program was ending. This fixed the problem. -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal