Internet Direct (Indy) Version 9.0.2 Beta
TIdRemoteCMDClient.UseStdError
This property indicates if TIdRexec or TIdRSH should use a StdError port with the server.

property UseStdError: Boolean;
Description
UseStdError

This property indicates if TIdRexec or TIdRSH should use a StdError port with the server. If this is set to True, the client listens on a port for a connection from the daemon and the server connects and uses that port to send any error messages. If this is false, the server sends error information through the main connection. The reason that StdError ports are used is that Rexec and RSH are primarily Unix-centered and Unix programs often use a StdError pipe and that data had to be treated separately from non-error related output.

The TIdRemoteCMDClient.ErrorReply and TIdRemoteCMDClient.ErrorMessage properties are not effected by this property at all.

If the user is behind a firewall, the TIdRemoteCMDClient.UseStdError property should be set to false because a connection to a Rexec or RSH daemon may fail if it can not connect to a user's StdError port.