Enumerations | |
enum | addrinfo_errors { service_not_found, socket_type_not_supported } |
enum | basic_errors { access_denied = ASIO_SOCKET_ERROR(EACCES), address_family_not_supported = ASIO_SOCKET_ERROR(EAFNOSUPPORT), address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE), already_connected = ASIO_SOCKET_ERROR(EISCONN), already_started = ASIO_SOCKET_ERROR(EALREADY), broken_pipe, connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED), connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED), connection_reset = ASIO_SOCKET_ERROR(ECONNRESET), bad_descriptor = ASIO_SOCKET_ERROR(EBADF), fault = ASIO_SOCKET_ERROR(EFAULT), host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH), in_progress = ASIO_SOCKET_ERROR(EINPROGRESS), interrupted = ASIO_SOCKET_ERROR(EINTR), invalid_argument = ASIO_SOCKET_ERROR(EINVAL), message_size = ASIO_SOCKET_ERROR(EMSGSIZE), name_too_long = ASIO_SOCKET_ERROR(ENAMETOOLONG), network_down = ASIO_SOCKET_ERROR(ENETDOWN), network_reset = ASIO_SOCKET_ERROR(ENETRESET), network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH), no_descriptors = ASIO_SOCKET_ERROR(EMFILE), no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS), no_memory, no_permission, no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT), not_connected = ASIO_SOCKET_ERROR(ENOTCONN), not_socket = ASIO_SOCKET_ERROR(ENOTSOCK), operation_aborted, operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP), shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN), timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT), try_again, would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK) } |
enum | error_category { system_category = ASIO_WIN_OR_POSIX(0, 0), netdb_category = ASIO_WIN_OR_POSIX(system_category, 1), addrinfo_category = ASIO_WIN_OR_POSIX(system_category, 2), misc_category = ASIO_WIN_OR_POSIX(3, 3), ssl_category = ASIO_WIN_OR_POSIX(4, 4) } |
Available error code categories. More... | |
enum | misc_errors { already_open = 1, eof, not_found, fd_set_failure } |
enum | netdb_errors { host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND), host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN), no_data = ASIO_NETDB_ERROR(NO_DATA), no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY) } |
enum | ssl_errors |
Functions | |
error_category | get_addrinfo_category () |
error_category | get_misc_category () |
error_category | get_netdb_category () |
error_category | get_ssl_category () |
error_category | get_system_category () |
asio::error_code | make_error_code (basic_errors e) |
asio::error_code | make_error_code (netdb_errors e) |
asio::error_code | make_error_code (addrinfo_errors e) |
asio::error_code | make_error_code (misc_errors e) |
asio::error_code | make_error_code (ssl_errors e) |
access_denied |
Permission denied. |
address_family_not_supported |
Address family not supported by protocol. |
address_in_use |
Address already in use. |
already_connected |
Transport endpoint is already connected. |
already_started |
Operation already in progress. |
broken_pipe |
Broken pipe. |
connection_aborted |
A connection has been aborted. |
connection_refused |
Connection refused. |
connection_reset |
Connection reset by peer. |
bad_descriptor |
Bad file descriptor. |
fault |
Bad address. |
host_unreachable |
No route to host. |
in_progress |
Operation now in progress. |
interrupted |
Interrupted system call. |
invalid_argument |
Invalid argument. |
message_size |
Message too long. |
name_too_long |
The name was too long. |
network_down |
Network is down. |
network_reset |
Network dropped connection on reset. |
network_unreachable |
Network is unreachable. |
no_descriptors |
Too many open files. |
no_buffer_space |
No buffer space available. |
no_memory |
Cannot allocate memory. |
no_permission |
Operation not permitted. |
no_protocol_option |
Protocol not available. |
not_connected |
Transport endpoint is not connected. |
not_socket |
Socket operation on non-socket. |
operation_aborted |
Operation cancelled. |
operation_not_supported |
Operation not supported. |
shut_down |
Cannot send after transport endpoint shutdown. |
timed_out |
Connection timed out. |
try_again |
Resource temporarily unavailable. |
would_block |
The socket is marked non-blocking and the requested operation would block. |
Available error code categories.
Definition at line 38 of file error_code.hpp.
error_category asio::error::get_addrinfo_category | ( | ) | [inline] |
Definition at line 59 of file error_code.hpp.
error_category asio::error::get_misc_category | ( | ) | [inline] |
Definition at line 60 of file error_code.hpp.
error_category asio::error::get_netdb_category | ( | ) | [inline] |
Definition at line 58 of file error_code.hpp.
error_category asio::error::get_ssl_category | ( | ) | [inline] |
Definition at line 61 of file error_code.hpp.
error_category asio::error::get_system_category | ( | ) | [inline] |
Definition at line 57 of file error_code.hpp.
asio::error_code asio::error::make_error_code | ( | basic_errors | e | ) | [inline] |
asio::error_code asio::error::make_error_code | ( | netdb_errors | e | ) | [inline] |
asio::error_code asio::error::make_error_code | ( | addrinfo_errors | e | ) | [inline] |
asio::error_code asio::error::make_error_code | ( | misc_errors | e | ) | [inline] |
asio::error_code asio::error::make_error_code | ( | ssl_errors | e | ) | [inline] |