xtd 0.2.0
Loading...
Searching...
No Matches
socket_error_constants.hpp File Reference
#include <cstdint>

Definition

Contains socket error constants.

Go to the source code of this file.

Variables

constexpr int32_t SOCKET_ERROR_SOCKET_ERROR
 An unspecified error occurred.
 
constexpr int32_t SOCKET_ERROR_SUCCESS
 Operation successful.
 
constexpr int32_t SOCKET_ERROR_OPERATION_ABORTED
 The overlapped operation was aborted due to the closure of the socket.
 
constexpr int32_t SOCKET_ERROR_IO_PENDING
 The application has initiated an overlapped operation that cannot be completed immediately.
 
constexpr int32_t SOCKET_ERROR_INTERRUPTED
 A blocking call was canceled.
 
constexpr int32_t SOCKET_ERROR_ACCESS_DENIED
 Access denied.
 
constexpr int32_t SOCKET_ERROR_FAULT
 Invalid pointer address.
 
constexpr int32_t SOCKET_ERROR_INVALID_ARGUMENT
 Invalid argument.
 
constexpr int32_t SOCKET_ERROR_TOO_MANY_OPEN_SOCKETS
 Too many sockets opened.
 
constexpr int32_t SOCKET_ERROR_WOULD_BLOCK
 An operation on a nonblocking socket cannot be completed immediately.
 
constexpr int32_t SOCKET_ERROR_IN_PROGRESS
 A blocking operation is in progress.
 
constexpr int32_t SOCKET_ERROR_ALREADY_IN_PROGRESS
 The nonblocking socket has an operation in progress.
 
constexpr int32_t SOCKET_ERROR_NOT_SOCKET
 Operation attempted on a non-socket object.
 
constexpr int32_t SOCKET_ERROR_DESTINATION_ADDRESS_REQUIRED
 Required destination missing.
 
constexpr int32_t SOCKET_ERROR_MESSAGE_SIZE
 Datagram message is too long.
 
constexpr int32_t SOCKET_ERROR_PROTOCOL_TYPE
 The protocol type is incorrect.
 
constexpr int32_t SOCKET_ERROR_PROTOCOL_OPTION
 An unknown, invalid, or unsupported option or level was used.
 
constexpr int32_t SOCKET_ERROR_PROTOCOL_NOT_SUPPORTED
 The protocol is not implemented or has not been configured.
 
constexpr int32_t SOCKET_ERROR_SOCKET_NOT_SUPPORTED
 The support for the specified socket type does not exist in this address family.
 
constexpr int32_t SOCKET_ERROR_OPERATION_NOT_SUPPORTED
 The address family is not supported by the protocol family.
 
constexpr int32_t SOCKET_ERROR_PROTOCOL_FAMILY_NOT_SUPPORTED
 The protocol family is not implemented or has not been configured.
 
constexpr int32_t SOCKET_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED
 The address family specified is not supported. This error is returned if the IPv6 address family was specified and the IPv6 stack is not installed on the local machine. This error is returned if the IPv4 address family was specified and the IPv4 stack is not installed on the local machine.
 
constexpr int32_t SOCKET_ERROR_ADDRESS_ALREADY_IN_USE
 Only one use of an address is normally permitted.
 
constexpr int32_t SOCKET_ERROR_ADDRESS_NOT_AVAILABLE
 The selected IP address is not valid in this context.
 
constexpr int32_t SOCKET_ERROR_NETWORK_DOWN
 The network is not available.
 
constexpr int32_t SOCKET_ERROR_NETWORK_UNREACHABLE
 No route to the remote host exists.
 
constexpr int32_t SOCKET_ERROR_NETWORK_RESET
 The application tried to set "keep alive" on a connection that timed out.
 
constexpr int32_t SOCKET_ERROR_CONNECTION_ABORTED
 Connection aborted.
 
constexpr int32_t SOCKET_ERROR_CONNECTION_RESET
 Connection reset by the remote peer.
 
constexpr int32_t SOCKET_ERROR_NO_BUFFER_SPACE_AVAILABLE
 No free buffer space available.
 
constexpr int32_t SOCKET_ERROR_IS_CONNECTED
 Already connected.
 
constexpr int32_t SOCKET_ERROR_NOT_CONNECTED
 The socket is not connected.
 
constexpr int32_t SOCKET_ERROR_SHUTDOWN
 A request to send or receive data was disallowed because the socket is closed.
 
constexpr int32_t SOCKET_ERROR_TIMED_OUT
 The connection attempt timed out, or the connected host has failed to respond.
 
constexpr int32_t SOCKET_ERROR_CONNECTION_REFUSED
 The remote host is actively refusing a connection.
 
constexpr int32_t SOCKET_ERROR_HOST_DOWN
 The operation failed because the remote host is down.
 
constexpr int32_t SOCKET_ERROR_HOST_UNREACHABLE
 There is no network route to the specified host.
 
constexpr int32_t SOCKET_ERROR_PROCESS_LIMIT
 Too many processes are using the underlying socket provider.
 
constexpr int32_t SOCKET_ERROR_SYSTEM_NOT_READY
 The network subsystem is unavailable.
 
constexpr int32_t SOCKET_ERROR_VERSION_NOT_SUPPORTED
 The version of the underlying socket provider is out of range.
 
constexpr int32_t SOCKET_ERROR_NOT_INITIALIZED
 The underlying socket provider has not been initialized.
 
constexpr int32_t SOCKET_ERROR_DISCONNECTING
 A graceful shutdown is in progress.
 
constexpr int32_t SOCKET_ERROR_TYPE_NOT_FOUND
 The specified class was not found.
 
constexpr int32_t SOCKET_ERROR_HOST_NOT_FOUND
 No such host is known. The name is not an official host name or alias.
 
constexpr int32_t SOCKET_ERROR_TRY_AGAIN
 The name of the host could not be resolved. Try again later.
 
constexpr int32_t SOCKET_ERROR_NOT_RECOVERY
 The error is unrecoverable or the requested database cannot be located.
 
constexpr int32_t SOCKET_ERROR_NO_DATA
 The requested name or IP address was not found on the name server.