Dart SecureTcp, SecureServer Controls
Error Event
Object reporting the error.
ErrorConstants description.
Description
Fires when an error condition occurs.
Syntax
Visual Basic
Public Event Error( _
   ByVal Child As SecureTcp, _
   ByVal Number As ErrorConstants, _
   ByVal Description As String _
)
Parameters
Child
Object reporting the error.
Number
ValueDescription
ptAbortBlocking operation cancelled by user
ptAddressInUseSpecified address in use (Connect method)
ptAddressNotAvailableThe remote address is not a valid address
ptAuthenticationAn invalid UserName or Password was specified
ptBlockedUser thread is blocking in another method
ptCompileAn error occurred while compiling
ptConnectedA connection already exists
ptConnectionAbortedConnection was aborted due to timeout or other failure
ptConnectionRefusedConnection forcefully refused
ptConnectionResetConnection was reset by the remote side executing a hard close
ptErrorUnexpected error
ptFileAn error has occurred while performing a File I/O operation.
ptFormatErrorThe server was unable to interpret the query
ptHeaderThe header is not properly terminated
ptHostNotFoundAuthoritative: Host name could not be resolved
ptHostUnreachableThe host is not found
ptHttpInvalidUrlThe Url is unspecified or invalid.
ptInvalidMailAddressThe EMail address specified was not valid
ptInvalidParam1Parameter #1 is invalid
ptInvalidParam2Parameter #2 is invalid
ptInvalidParam3Parameter #3 is invalid
ptInvalidParam4Parameter #4 is invalid
ptInvalidPropertyInvalid 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.
ptNetworkDownThe network subsystem has failed
ptNetworkResetConnection has been broken due to keep-alive activity detecting a failure
ptNetworkUnreachableThe network is unreachable
ptNoAccessThe user does not have the proper permissions
ptNoBufferSpaceNo buffer space is available
ptNoCertificateThere was an error in creating credentials
ptNoDataValid name, no data record of requested type
ptNoRecoveryA non-recoverable error
ptNoSecuritySecure communications is not available on this machine
ptNotConnectedNot connected
ptNotFoundThe name referred to in the query does not exist
ptNotImplementedThe server does not support the request type of query
ptNotInitializedNetwork interface could not be initialized
ptOkOk
ptOperationRefusedThe server refused to perform the specified operation
ptOptionNotSupportedSpecified socket option not supported
ptProtocolAn error has occurred in the the protocol
ptServerErrorThere was a failure on the server
ptSocks4DifferentUserIDThe SOCKS4 server rejected the connection because the client program and identd report different user-ids
ptSocks4NoAcceptableMethodsThe SOCKS5 server will not accept any of the requested methods
ptSocks4NoIdentdThe SOCKS4 server rejected the connection because it was unable to connect to identd on the client
ptSocks4RequestRejectedThe SOCKS4 server rejected the connection (No reason given)
ptSocks5AddressTypeNotSupportedThe SOCKS5 server reported that the address type is not supported
ptSocks5AuthFailedThe SOCKS5 server rejected the connection because authorization failed
ptSocks5CommandNotSupportedThe SOCKS5 server reported that the command is not supported
ptSocks5ConnectionRefusedThe SOCKS5 server reported that the host connection was refused
ptSocks5HostUnreachableThe SOCKS5 server reported that the host was unreachable
ptSocks5NetworkUnreachableThe SOCKS5 server reported that the network was unreachable
ptSocks5NoRuleSetThe SOCKS5 server reported that the connection was not allowed by the ruleset
ptSocks5ServerFailureThe SOCKS5 server reported a general failure
ptSocks5TTLExpiredThe SOCKS5 server reported that the TTL has expired
ptTimeoutTimeout occurred for requested operation
ptTryAgainNon-authoritiative: Host name could not be resolved
zipErrorAn error occurred during a zip operation
Description
ErrorConstants description.
Remarks

Some environments, such as IIS Active Server Pages, do not support event handling. In this case the application must rely on blocking and the Error object that is returned to the container when an error condition occurs.

Note: See the appropriate method and property description for a list of errors that may be generated.

See Also

SecureServer Object  | SecureServer Members


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