TApxProtocol
property ProtocolError : Integer
Returns the code of the last error returned by the protocol.
This property returns zero except for the first call after an error is encountered.
See also: ProtocolStatus