Dart Tcp, Daemon, Udp Controls
ErrorConstants Enumeration
Description

Errors are reported to the application with the error object and by firing the Error event. ErrorConstants fall into two classes: design-time errors and run-time errors. The Error event always fires when any error occurs. When Timeout is 0, however, run-time errors are not thrown back to the container. This allows applications that use only non-blocking operation to localize all error handling in the Error event. To summarize:

Timeout is 0 (non-blocking). All errors are reported via the Error event. Only errors classified as design time errors are also reported back from methods using the error object.

Timeout is not 0 (blocking). All errors are reported via the Error event. All errors occurring within the scope of a method are reported back to the container using the error object.

Errors are marked as INFO or FATAL. An INFO error does not affect the State property. A FATAL error performs an Abort and releases all resources.

Members
MemberValueDescription
ptAbort11103Blocking operation cancelled by user
ptAddressInUse10048Specified address in use (Connect method)
ptAddressNotAvailable10049The remote address is not a valid address
ptAuthentication12012An invalid UserName or Password was specified
ptBlocked12011User thread is blocking in another method
ptCompile12013An error occurred while compiling
ptConnected12014A connection already exists
ptConnectionAborted10053Connection was aborted due to timeout or other failure
ptConnectionRefused10061Connection forcefully refused
ptConnectionReset10054Connection was reset by the remote side executing a hard close
ptError11100Unexpected error
ptFile11102An error has occurred while performing a File I/O operation.
ptFormatError12015The server was unable to interpret the query
ptHeader12101The header is not properly terminated
ptHostNotFound11001Authoritative: Host name could not be resolved
ptHostUnreachable10065The host is not found
ptHttpInvalidUrl12005The Url is unspecified or invalid.
ptInvalidMailAddress12021The EMail address specified was not valid
ptInvalidParam112001Parameter #1 is invalid
ptInvalidParam212002Parameter #2 is invalid
ptInvalidParam312003Parameter #3 is invalid
ptInvalidParam412004Parameter #4 is invalid
ptInvalidProperty12009Invalid property assignment. You are attempting to use a property that is not available in this version of the control. Please contact support@dart.com for more information.
ptNetworkDown10050The network subsystem has failed
ptNetworkReset10052Connection has been broken due to keep-alive activity detecting a failure
ptNetworkUnreachable10051The network is unreachable
ptNoAccess10013The user does not have the proper permissions
ptNoBufferSpace10055No buffer space is available
ptNoCertificate12020There was an error in creating credentials
ptNoData11004Valid name, no data record of requested type
ptNoRecovery11003A non-recoverable error
ptNoSecurity12022Secure communications is not available on this machine
ptNotConnected10057Not connected
ptNotFound12017The name referred to in the query does not exist
ptNotImplemented12018The server does not support the request type of query
ptNotInitialized10093Network interface could not be initialized
ptOk0Ok
ptOperationRefused12019The server refused to perform the specified operation
ptOptionNotSupported10042Specified socket option not supported
ptProtocol11101An error has occurred in the the protocol
ptServerError12016There was a failure on the server
ptSocks4DifferentUserID12093The SOCKS4 server rejected the connection because the client program and identd report different user-ids
ptSocks4NoAcceptableMethods12024The SOCKS5 server will not accept any of the requested methods
ptSocks4NoIdentd12092The SOCKS4 server rejected the connection because it was unable to connect to identd on the client
ptSocks4RequestRejected12091The SOCKS4 server rejected the connection (No reason given)
ptSocks5AddressTypeNotSupported12038The SOCKS5 server reported that the address type is not supported
ptSocks5AuthFailed12039The SOCKS5 server rejected the connection because authorization failed
ptSocks5CommandNotSupported12037The SOCKS5 server reported that the command is not supported
ptSocks5ConnectionRefused12035The SOCKS5 server reported that the host connection was refused
ptSocks5HostUnreachable12034The SOCKS5 server reported that the host was unreachable
ptSocks5NetworkUnreachable12033The SOCKS5 server reported that the network was unreachable
ptSocks5NoRuleSet12032The SOCKS5 server reported that the connection was not allowed by the ruleset
ptSocks5ServerFailure12031The SOCKS5 server reported a general failure
ptSocks5TTLExpired12036The SOCKS5 server reported that the TTL has expired
ptTimeout10060Timeout occurred for requested operation
ptTryAgain11002Non-authoritiative: Host name could not be resolved
zipError14001An error occurred during a zip operation

PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic