Indy 9
|
EIdSocketError = class(EIdException)
property LastError: Integer;
The values for this property are usually listed in Winsock references such as:
constructor CreateError(const AErr: Integer; const AMsg: string); virtual;
CreateError calls the inherited Create method using AMsg as the exception message. CreateError also sets the value in LastError to the value specified in AErr.