Internet Direct (Indy) Version 9.0.2 Beta
TIdIdentServer.ReplyError
This method sends an error reply to the client requesting a query.

procedure ReplyError(AThread: TIdPeerThread; AServerPort: Integer; AClientPort: Integer; AErr: TIdIdentErrorType);
Parameters
AThread: TIdPeerThread
The connection thread for the query

AServerPort: Integer
The port that the connection on the server (the computer making the query)

AClientPort: Integer
The port that the client is connecting from (the port the daemon is using to connect to the server making the query)

AErr: TIdIdentErrorType
The error reply to send and it is one of the values in the TIdIdentErrorType topic

Description
This method sends an error reply to the client requesting a query.