Internet Direct (Indy) Version 9.0.2 Beta
TIdStack.RaiseSocketError
Creates an exception for a socket error number.

procedure RaiseSocketError(const AErr: integer);
Parameters
const AErr: integer
Socket error number to be raised.

Description
RaiseSocketError is a procedure that raises an EIdSocketError exception. RaiseSocketError uses the error code specified by the AErr integer parameter as the LastError parameter, and the translated socket error message for the AErr integer value.

Note: It is normal to receive a 10038 exception (10038, NOT others!) here when *shutting down* (NOT at other times!) servers (NOT clients!). If you receive a 10038 exception here please see the FAQ at http://www.nevrona.com/Indy/FAQ.html

If you DID read the FAQ and have further questions, please feel free to ask using one of the methods (Carefully note that these methods do not include email) listed on the Tech Support link at http://www.nevrona.com/Indy