Fr0sT.Brutal 900 Posted December 17, 2020 I have TWSocket descendant implementing SChannel connection and currently all TLS-related problems raise an exception (that is, exception is raised by utility functions, I just do nothing special in socket). I wonder if that's the correct way of reporting errors in ICS. I looked at the code of OverbyteIcsWSocket.pas and found some `SocketError` uses, some `RaiseException`, some `raise ESocketException` and some `TriggerXXX(Error)` / `SetLastError`. Share this post Link to post