 |
Diarkis C++Client Library API Document
|
DIARKIS_EXPORT System::Result EADDRINUSE_ERROR
The given address is already in use. (status: FATAL, value: 0x8CD4F017)
DIARKIS_EXPORT System::Result EAI_INTR_ERROR
Interrupted by a signal. (status: TEMPORARY, value: 0xE02E56BE)
DIARKIS_EXPORT System::Result EAI_BADFLAGS_ERROR
hints.ai_flags contains invalid flags; or, hints.ai_flags included AI_CANONNAME and name was NULL....
DIARKIS_EXPORT System::Result EAI_SYSTEM_ERROR
Other system error, check errno for details. (status: FATAL, value: 0xA98EE498)
DIARKIS_EXPORT System::Result UDP_ALREADY_CONNECTED_ERROR
Udp is already connected. (status: FATAL, value: 0x599EEFAC)
DIARKIS_EXPORT System::Result CONTENT_TYPE_HEADER_NOT_FOUND
The Content-Type header could not be found in the HTTP response. (status: FATAL, value: 0x065627D3)
DIARKIS_EXPORT System::Result EAI_FAIL_ERROR
The name server returned a permanent failure indication. (status: FATAL, value: 0x1EC3018B)
DIARKIS_EXPORT System::Result ENOPROTOOPT_ERROR
The option is unknown at the level indicated. (status: FATAL, value: 0x8F6738DF)
DIARKIS_EXPORT System::Result CREDENTIALS_NOT_SET
The key and IV are not set. (status: FATAL, value: 0xA77DE011)
DIARKIS_EXPORT System::Result EALREADY_ERROR
A previous connection attempt has not yet been completed. (status: FATAL, value: 0x8FEB8028)
DIARKIS_EXPORT System::Result EFAULT_ERROR
The arguments point outside the process address space. (status: FATAL, value: 0x8FB8C7EA)
DIARKIS_EXPORT System::Result TCP_NOT_CONNECTED_ERROR
Tcp is not connected. (status: FATAL, value: 0xE18FE134)
DIARKIS_EXPORT System::Result CONNECTION_IN_PROGRESS_ERROR
Tcp connection is in progress. (status: FATAL, value: 0x7996B678)
DIARKIS_EXPORT System::Result WSAEADDRNOTAVAIL_ERROR
The remote address is not a valid address, for example, ADDR_ANY. (status: FATAL, value: 0x1DFDA607)
DIARKIS_EXPORT System::Result EBADF_ERROR
The argument sockfd is an invalid file descriptor. (status: FATAL, value: 0xDE8ABB2A)
DIARKIS_EXPORT System::Result TOO_MANY_PACKETS_ENQUEUED
Too many packets enqueued in a single network processing iteration. (status: FATAL,...
DIARKIS_EXPORT System::Result EINVAL_ERROR
Invalid argument passed to a socket operation. (status: FATAL, value: 0x1BF2931C)
DIARKIS_EXPORT System::Result WSAEINPROGRESS_ERROR
A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a cal...
DIARKIS_EXPORT System::Result WSAEINTR_ERROR
A blocking Windows Sockets 1.1 call was canceled through WSACancelBlockingCall. (status: FATAL,...
DIARKIS_EXPORT System::Result GET_DUAL_STACK_ERROR
Fail to retrieve dual stack value. (status: FATAL, value: 0xAF51C948)
DIARKIS_EXPORT System::Result MSG_SIZE_TOO_BIG_ERROR
Message does not fit into a single UDP packet (status: FATAL, value: 0x564D7F12)
DIARKIS_EXPORT System::Result EAI_MEMORY_ERROR
Out of memory. (status: FATAL, value: 0x1A56616E)
DIARKIS_EXPORT System::Result PEER_ALREADY_RUNNING
The current peer is already in running state. (status: TEMPORARY, value: 0x25270E75)
DIARKIS_EXPORT System::Result EAI_NODATA_ERROR
The specified network host exists, but does not have any network addresses defined....
DIARKIS_EXPORT System::Result ECONNREFUSED_ERROR
A remote host refused to allow the network connection (typically because it is not running the reques...
DIARKIS_EXPORT System::Result INVALID_ARGUMENT_OUT_OF_RANGE
One of the argument is outside of the expected range of values. (status: FATAL, value: 0xEF9C73BE)
DIARKIS_EXPORT System::Result DISCONNECTED_ERROR
Socket disconnected. (status: FATAL, value: 0x9B07131A)
DIARKIS_EXPORT System::Result DISCONNECTION_IN_PROGRESS_ERROR
Tcp disconnection is in progress. (status: FATAL, value: 0x435FB94C)
DIARKIS_EXPORT System::Result WSAECONNABORTED_ERROR
The virtual circuit was terminated due to a time-out or other failure. The application should close t...
DIARKIS_EXPORT System::Result NOT_2XX_STATUS_CODE
Server responded with a status code outside of the 2XX success range. (status: FATAL,...
DIARKIS_EXPORT System::Result UDP_NOT_CONNECTED_ERROR
Udp is not connected. (status: FATAL, value: 0x16131CBD)
DIARKIS_EXPORT System::Result NOTHING_DONE
The call did nothing due to specific conditions. (status: TEMPORARY, value: 0xBC001052)
DIARKIS_EXPORT System::Result EAFNOSUPPORT_ERROR
Addresses in the specified family cannot be used with this socket. (status: FATAL,...
DIARKIS_EXPORT System::Result SIGNATURE_MISSMATCH_ERROR
The signature is incorrect. (status: FATAL, value: 0x6CC80441)
DIARKIS_EXPORT System::Result CIPHER_CREATION_ERROR
The cipher creation failed. (status: FATAL, value: 0xF5FFD0AB)
DIARKIS_EXPORT System::Result INVALID_PROTOCOL_ERROR
Invalid socket protocol, expected IPPROTO_TCP or IPPROTO_UDP. (status: FATAL, value: 0xA67717C8)
DIARKIS_EXPORT System::Result EACCES_ERROR
The address is protected, and the user is not the superuser. Or the requested address is a broadcast ...
DIARKIS_EXPORT System::Result INVALID_PAYLOAD_SIZE_ERROR
The packet size is invalid. (status: FATAL, value: 0xD59C952D)
DIARKIS_EXPORT System::Result EMSGSIZE_ERROR
The socket is message oriented, and the message is larger than the maximum supported by the underlyin...
DIARKIS_EXPORT System::Result EAF_DNS_NOSUPPORT_ERROR
Address family not supported. (status: FATAL, value: 0x8EDDF707)
DIARKIS_EXPORT System::Result ENETUNREACH_ERROR
The network is unreachable. (status: TEMPORARY, value: 0x720DC18F)
DIARKIS_EXPORT System::Result WSAESHUTDOWN_ERROR
The socket has been shut down; it is not possible to send on a socket after shutdown has been invoked...
DIARKIS_EXPORT System::Result EDESTADDRREQ_ERROR
The socket is not connection-mode, and no peer address is set. (status: FATAL, value: 0x3CEC0BFC)
Contains information about a specific result value. Can be compared against another Result structure....
Definition: result.h:37
DIARKIS_EXPORT System::Result WSAETIMEDOUT_ERROR
The connection has been dropped, because of a network failure or because the system on the other end ...
DIARKIS_EXPORT System::Result WSAENETRESET_ERROR
The connection has been broken due to the keep-alive activity detecting a failure while the operation...
DIARKIS_EXPORT System::Result NO_DATA_TO_SEND
Sending data queue is empty. (status: TEMPORARY, value: 0x225A3DFD)
DIARKIS_EXPORT System::Result INVALID_RESPONSE_CONTENT
A required information is missing from the HTTP response content. (status: FATAL, value: 0xFF88DFF3)
DIARKIS_EXPORT System::Result ENETDOWN_ERROR
The local network interface is down. (status: FATAL, value: 0xAACA81EB)
DIARKIS_EXPORT System::Result INVALID_ARGUMENT_NULL_POINTER
One of the argument is a null pointer, whereas non-null pointer was expected. (status: FATAL,...
DIARKIS_EXPORT System::Result CONTENT_TYPE_NOT_JSON
The Content-Type header value is not application/json nor text/json. (status: FATAL,...
DIARKIS_EXPORT System::Result EAI_FAMILY_ERROR
The requested address family is not supported. (status: FATAL, value: 0xC136EC71)
DIARKIS_EXPORT System::Result SESSION_ID_NOT_SET
The session ID is not set. (status: FATAL, value: 0xF340F5FA)
DIARKIS_EXPORT System::Result INVALID_HEADER_ERROR
The packet header is invalid. (status: FATAL, value: 0xE9181561)
DIARKIS_EXPORT System::Result THREAD_CREATION_FAILED
Creation of a native thread threw an exception. (status: FATAL, value: 0xACD76813)
DIARKIS_EXPORT System::Result SET_NO_DELAY_ERROR
Invalid socket no-delay value. (status: FATAL, value: 0xB313C693)
DIARKIS_EXPORT System::Result WSAEHOSTUNREACH_ERROR
The remote host cannot be reached from this host at this time. (status: TEMPORARY,...
DIARKIS_EXPORT System::Result TCP_ALREADY_CONNECTED_ERROR
Tcp is already connected. (status: FATAL, value: 0x8AFE5437)
DIARKIS_EXPORT System::Result GET_NO_DELAY_ERROR
Invalid socket no-delay value. (status: FATAL, value: 0x96184D8D)
DIARKIS_EXPORT System::Result HMAC_KEY_NOT_SET
The hmac key is not set. (status: FATAL, value: 0x8DBF449F)
DIARKIS_EXPORT System::Result RETRY_COUNT_EXHAUSTED
The number of retries has exhausted. (status: FATAL, value: 0x9E947C6E)
DIARKIS_EXPORT System::Result ETIMEDOUT_ERROR
Connection establishment timed out without establishing a connection. (status: FATAL,...
DIARKIS_EXPORT System::Result INVALID_IV_SIZE_ERROR
The iv size is invalid. (status: FATAL, value: 0xBB81D1B7)
DIARKIS_EXPORT System::Result NO_PENDING_DATA_AVAILABLE_ERROR
There is no pending data available. (status: TEMPORARY, value: 0x29E09324)
DIARKIS_EXPORT System::Result EAI_SERVICE_ERROR
The requested service is not available for the requested socket type. It may be available through ano...
DIARKIS_EXPORT System::Result CRYPTO_MISCELLANEOUS_ERROR
Crypto miscellaneous error. (status: FATAL, value: 0xF0FBDD5E)
DIARKIS_EXPORT System::Result ECONNRESET_ERROR
Connection reset by peer. (status: FATAL, value: 0x2577D214)
DIARKIS_EXPORT System::Result EISCONN_ERROR
??? (status: FATAL, value: 0x37C9CF2C)
DIARKIS_EXPORT System::Result INVALID_ENDPOINT
Invalid network endpoint value (status: FATAL, value: 0x3F7F2EB6)
DIARKIS_EXPORT System::Result BUFFER_NOT_MULTIPLE_OF_BLOCK_SIZE
The buffer size is not a multiple of cipher block size. (status: FATAL, value: 0xF9B2900D)
DIARKIS_EXPORT System::Result TCP_ONLY_FEATURE
Feature available only when in TCP mode. (status: FATAL, value: 0x7491B652)
DIARKIS_EXPORT System::Result INVALID_HMAC_KEY_SIZE_ERROR
The hmac key size is invalid. (status: FATAL, value: 0xD2F55218)
DIARKIS_EXPORT System::Result ENOBUFS_ERROR
The output queue for a network interface was full. (status: TEMPORARY, value: 0xE47D35C5)
DIARKIS_EXPORT System::Result EXPECTED_PAYLOAD_SIZE_MISMATCH
Delta between resulting payload size from header and transport payload size results in wrong padding ...
DIARKIS_EXPORT System::Result MACKEY_NOT_FOUND
Could not retrieve the MAC key from HTTP auth response. (status: FATAL, value: 0xB5FF6420)
DIARKIS_EXPORT System::Result HTTP_SYSTEM_ERROR
HTTP library error. (status: FATAL, value: 0x5864352D)
DIARKIS_EXPORT System::Result GET_BLOCKING_MODE_ERROR
Invalid socket blocking mode. (status: FATAL, value: 0x18A3F57A)
DIARKIS_EXPORT System::Result RESOLUTION_ERROR
Failed to resolve domain name. (status: FATAL, value: 0x53435F7D)
DIARKIS_EXPORT System::Result CREATION_ERROR
Failed to create socket. (status: FATAL, value: 0x58FE6F09)
DIARKIS_EXPORT System::Result EAI_IDN_ENCODE_ERROR
Parameter string not correctly encoded. (status: FATAL, value: 0x65755A3E)
DIARKIS_EXPORT System::Result HEXADECIMAL_STRING_OF_ODD_LENGTH
Hexadecimal string contains an odd number of characters. (status: FATAL, value: 0x7ECB4AEA)
DIARKIS_EXPORT System::Result CONNECTION_TIMEOUT_ERROR
The tcp connection has timed out. (status: FATAL, value: 0x5D61C472)
DIARKIS_EXPORT System::Result EINPROGRESS_ERROR
The socket is nonblocking and the connection cannot be completed immediately. (status: FATAL,...
DIARKIS_EXPORT System::Result INVALID_FAMILY_ERROR
Invalid socket family, expected INET4 or INET6. (status: FATAL, value: 0x9E3C23E0)
DIARKIS_EXPORT System::Result KEY_NOT_FOUND
Could not retrieve the session key from HTTP auth response. (status: FATAL, value: 0xBB820DA1)
DIARKIS_EXPORT System::Result INVALID_TYPE_ERROR
Invalid socket type, expected SOCK_STREAM or SOCK_DGRAM. (status: FATAL, value: 0x9B8CD2AD)
DIARKIS_EXPORT System::Result IV_NOT_FOUND
Could not retrieve the IV from HTTP auth response. (status: FATAL, value: 0x60B44EC5)
DIARKIS_EXPORT System::Result EAI_ADDRFAMILY_ERROR
The specified network host does not have any network addresses in the requested address family....
DIARKIS_EXPORT System::Result SET_DUAL_STACK_ERROR
Fail to enable dual stack. (status: FATAL, value: 0x017A8934)
DIARKIS_EXPORT System::Result EPIPE_ERROR
The local end has been shut down on a connection oriented socket. (status: FATAL, value: 0x8F106DAB)
DIARKIS_EXPORT System::Result WSANOTINITIALISED_ERROR
A successful WSAStartup call must occur before using this function. (status: FATAL,...
DIARKIS_EXPORT System::Result SET_BLOCKING_MODE_ERROR
Invalid socket blocking mode. (status: FATAL, value: 0x198DD2A5)
DIARKIS_EXPORT System::Result INVALID_SOCKET_ERROR
Invalid socket. (status: FATAL, value: 0x1656F0D4)
DIARKIS_EXPORT System::Result MISCELLANEOUS_ERROR
FIXME placeholder (status: FATAL, value: 0x681E68DD)
DIARKIS_EXPORT System::Result EWOULDBLOCK_ERROR
The socket operation would block. (status: TEMPORARY, value: 0xC13D07F2)
DIARKIS_EXPORT System::Result EAI_NONAME_ERROR
The node or service is not known; or both node and service are NULL; or AI_NUMERICSERV was specified ...
DIARKIS_EXPORT System::Result EAI_SOCKTYPE_ERROR
The requested socket type is not supported. This could occur, for example, if hints....
DIARKIS_EXPORT System::Result SUCCESS
Everything went according to plan. (status: NONE, value: 0)
DIARKIS_EXPORT System::Result PEER_NOT_YET_RUNNING
The current peer is not in running state yet. (status: TEMPORARY, value: 0x41BC9B94)
DIARKIS_EXPORT System::Result UDP_ONLY_FEATURE
Feature available only when in UDP mode. (status: FATAL, value: 0x41F828D9)
DIARKIS_EXPORT System::Result EHOSTDOWN_ERROR
The remote host was down. (status: FATAL, value: 0xAE5CBE44)
DIARKIS_EXPORT System::Result HEADER_NOT_FOUND
A specific header could not be found in the HTTP response. (status: FATAL, value: 0xA0E54A89)
DIARKIS_EXPORT System::Result SID_NOT_FOUND
Could not retrieve the SID from HTTP auth response. (status: FATAL, value: 0x35EEBC5B)
DIARKIS_EXPORT System::Result INVALID_ARGUMENT
One of the argument is invalid. (status: FATAL, value: 0xF2327D27)
DIARKIS_EXPORT System::Result TCP_ENDPOINT_NOT_FOUND
Could not retrieve the TCP endpoint from HTTP auth response. (status: FATAL, value: 0x1F1C6E16)
DIARKIS_EXPORT System::Result EAI_AGAIN_ERROR
The name server returned a temporary failure indication. (status: TEMPORARY, value: 0xA0B82E6E)
DIARKIS_EXPORT System::Result ENOTCONN_ERROR
The socket is not connected. (status: FATAL, value: 0xC1D558F3)
DIARKIS_EXPORT System::Result INVALID_SESSION_ID
A session ID must be at least 1 character. (status: FATAL, value: 0xC5A5EC35)
DIARKIS_EXPORT System::Result UNSET
The result is not set to any meaningful value. (status: FATAL, value: 0xFFFFFFFF)
DIARKIS_EXPORT System::Result UNEXPECTED_BLOCKING_MODE_ERROR
The socket blocking mode is not the one we expect. (private) (status: FATAL, value: 0xB79E8B5C)
DIARKIS_EXPORT System::Result DESTINATION_BUFFER_TOO_SMALL_ERROR
The destination buffer is too small. (status: FATAL, value: 0x95582D3C)
DIARKIS_EXPORT System::Result EAI_BADHINTS_ERROR
Invalid value for hints. (status: FATAL, value: 0xD28FBA25)
DIARKIS_EXPORT System::Result EAI_PROTOCOL_ERROR
Resolved protocol is unknown. (status: FATAL, value: 0xC5F62CB8)
DIARKIS_EXPORT System::Result ENOMEM_ERROR
No memory availab for network operation. (status: TEMPORARY, value: 0xD1A33443)
DIARKIS_EXPORT System::Result EOPNOTSUPP_ERROR
Some bit in the flags argument is inappropriate for the socket type. (status: FATAL,...
DIARKIS_EXPORT System::Result ENDPOINT_NOT_FOUND
Could not retrieve the UDP endpoint from HTTP auth response. (status: FATAL, value: 0x61D38C8E)
DIARKIS_EXPORT System::Result INVALID_HEXADECIMAL_CHARACTER
Hexadecimal string contains a non-hexadecimal character. (status: FATAL, value: 0x6934D8FC)
DIARKIS_EXPORT System::Result EAI_OVERFLOW_ERROR
Argument buffer overflow. (status: FATAL, value: 0x719EC0B9)
DIARKIS_EXPORT System::Result INVALID_CLIENT_KEY
A client key must be at least 1 character. (status: FATAL, value: 0x91D1D139)
DIARKIS_EXPORT System::Result EADDRNOTAVAIL_ERROR
The specified address is not available from the local machine. (status: FATAL, value: 0x05091A5C)
DIARKIS_EXPORT System::Result EINTR_ERROR
The socket is nonblocking and the connection cannot be completed immediately. (status: FATAL,...
DIARKIS_EXPORT System::Result WSAENETDOWN_ERROR
The network subsystem or the associated service provider has failed. (status: FATAL,...
DIARKIS_EXPORT System::Result INVALID_KEY_SIZE_ERROR
The key size is invalid. (status: FATAL, value: 0x57B6F8F7)
DIARKIS_EXPORT System::Result ENOTSOCK_ERROR
The file descriptor sockfd does not refer to a socket. (status: FATAL, value: 0x2F46E36D)
DIARKIS_EXPORT System::Result OFFSET_LENGTH_COMBINATION_OUT_OF_RANGE
A combination of offset + length is exceeding the authorized capacity. (status: FATAL,...
DIARKIS_EXPORT System::Result FORCE_TERMINATION_BY_SERVER
FIXME c# force termination by server (status: FATAL, value: 0xB31F1286)
DIARKIS_EXPORT System::Result SERVER_PORT_NOT_FOUND
Could not retrieve the Server Port from HTTP auth response. (status: FATAL, value: 0xBEEF4BC8)