Hello dz,
> Client.SendLine('-ERR Closing connection.');
> Client.Shutdown(1); // Or CloseDelayed() ...?
Yes. This way you are sure that the string will be received by the other
end.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
--
> > I think the problem is that in
TCustomWSocket.InternalClose the message
> > pump is called
>
> I think you right about that. As I recall
CloseDelayed was introduced if
> it was needed to Close from in one of the events.
Most likely that was
> the reason.
So should I call CloseDelayed() or