procedure Error(ErrorEvent: TErrorEvent; var ErrorCode: Integer); virtual;
virtual void __fastcall Error(TErrorEvent ErrorEvent, int &ErrorCode);
Generates an OnClientError event for the associated server socket.
TServerClientThread assigns the Error method as an event handler for the OnErrorEvent method of the associated TClientWinSocket object. This allows errors received from the client to generate OnClientError events on the server socket.
Warning: Error is not thread-safe. It should not be called from the server client thread. It is only intended for use by the associated client socket, which is not local to the server client thread.