All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Enumerations | Functions
asio::error Namespace Reference

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)

Enumeration Type Documentation

Enumerator:
service_not_found 

The service is not supported for the given socket type.

socket_type_not_supported 

The socket type is not supported.

Definition at line 183 of file error.hpp.

Enumerator:
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.

Definition at line 56 of file error.hpp.

Available error code categories.

Enumerator:
system_category 

System error codes.

netdb_category 

Error codes from NetDB functions.

addrinfo_category 

Error codes from getaddrinfo.

misc_category 

Miscellaneous error codes.

ssl_category 

SSL error codes.

Definition at line 38 of file error_code.hpp.

Enumerator:
already_open 

Already open.

eof 

End of file or stream.

not_found 

Element not found.

fd_set_failure 

The descriptor cannot fit into the select system call's fd_set.

Definition at line 196 of file error.hpp.

Enumerator:
host_not_found 

Host not found (authoritative).

host_not_found_try_again 

Host not found (non-authoritative).

no_data 

The query is valid but does not have associated address data.

no_recovery 

A non-recoverable error occurred.

Definition at line 168 of file error.hpp.

Definition at line 211 of file error.hpp.


Function Documentation

Definition at line 59 of file error_code.hpp.

Definition at line 60 of file error_code.hpp.

Definition at line 58 of file error_code.hpp.

Definition at line 61 of file error_code.hpp.

Definition at line 57 of file error_code.hpp.

asio::error_code asio::error::make_error_code ( basic_errors  e) [inline]

Definition at line 217 of file error.hpp.

asio::error_code asio::error::make_error_code ( netdb_errors  e) [inline]

Definition at line 223 of file error.hpp.

asio::error_code asio::error::make_error_code ( addrinfo_errors  e) [inline]

Definition at line 229 of file error.hpp.

asio::error_code asio::error::make_error_code ( misc_errors  e) [inline]

Definition at line 235 of file error.hpp.

asio::error_code asio::error::make_error_code ( ssl_errors  e) [inline]

Definition at line 241 of file error.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41