1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>error::basic_errors</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../boost_asio.html" title="Boost.Asio"> 8<link rel="up" href="../reference.html" title="Reference"> 9<link rel="prev" href="error__addrinfo_errors.html" title="error::addrinfo_errors"> 10<link rel="next" href="error__get_addrinfo_category.html" title="error::get_addrinfo_category"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 15<td align="center"><a href="../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="error__addrinfo_errors.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="error__get_addrinfo_category.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h3 class="title"> 27<a name="boost_asio.reference.error__basic_errors"></a><a class="link" href="error__basic_errors.html" title="error::basic_errors">error::basic_errors</a> 28</h3></div></div></div> 29<p> 30 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors"></a> 31 </p> 32<pre class="programlisting">enum basic_errors 33</pre> 34<p> 35 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.access_denied"></a> 36 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.address_family_not_supported"></a> 37 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.address_in_use"></a> 38 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.already_connected"></a> 39 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.already_started"></a> 40 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.broken_pipe"></a> 41 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_aborted"></a> 42 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_refused"></a> 43 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_reset"></a> 44 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.bad_descriptor"></a> 45 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.fault"></a> 46 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.host_unreachable"></a> 47 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.in_progress"></a> 48 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.interrupted"></a> 49 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.invalid_argument"></a> 50 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.message_size"></a> 51 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.name_too_long"></a> 52 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_down"></a> 53 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_reset"></a> 54 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_unreachable"></a> 55 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_descriptors"></a> 56 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_buffer_space"></a> 57 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_memory"></a> 58 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_permission"></a> 59 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_protocol_option"></a> 60 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_such_device"></a> 61 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.not_connected"></a> 62 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.not_socket"></a> 63 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.operation_aborted"></a> 64 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.operation_not_supported"></a> 65 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.shut_down"></a> 66 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.timed_out"></a> 67 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.try_again"></a> 68 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.would_block"></a> 69 </p> 70<h5> 71<a name="boost_asio.reference.error__basic_errors.h0"></a> 72 <span class="phrase"><a name="boost_asio.reference.error__basic_errors.values"></a></span><a class="link" href="error__basic_errors.html#boost_asio.reference.error__basic_errors.values">Values</a> 73 </h5> 74<div class="variablelist"> 75<p class="title"><b></b></p> 76<dl class="variablelist"> 77<dt><span class="term">access_denied</span></dt> 78<dd><p> 79 Permission denied. 80 </p></dd> 81<dt><span class="term">address_family_not_supported</span></dt> 82<dd><p> 83 Address family not supported by protocol. 84 </p></dd> 85<dt><span class="term">address_in_use</span></dt> 86<dd><p> 87 Address already in use. 88 </p></dd> 89<dt><span class="term">already_connected</span></dt> 90<dd><p> 91 Transport endpoint is already connected. 92 </p></dd> 93<dt><span class="term">already_started</span></dt> 94<dd><p> 95 Operation already in progress. 96 </p></dd> 97<dt><span class="term">broken_pipe</span></dt> 98<dd><p> 99 Broken pipe. 100 </p></dd> 101<dt><span class="term">connection_aborted</span></dt> 102<dd><p> 103 A connection has been aborted. 104 </p></dd> 105<dt><span class="term">connection_refused</span></dt> 106<dd><p> 107 Connection refused. 108 </p></dd> 109<dt><span class="term">connection_reset</span></dt> 110<dd><p> 111 Connection reset by peer. 112 </p></dd> 113<dt><span class="term">bad_descriptor</span></dt> 114<dd><p> 115 Bad file descriptor. 116 </p></dd> 117<dt><span class="term">fault</span></dt> 118<dd><p> 119 Bad address. 120 </p></dd> 121<dt><span class="term">host_unreachable</span></dt> 122<dd><p> 123 No route to host. 124 </p></dd> 125<dt><span class="term">in_progress</span></dt> 126<dd><p> 127 Operation now in progress. 128 </p></dd> 129<dt><span class="term">interrupted</span></dt> 130<dd><p> 131 Interrupted system call. 132 </p></dd> 133<dt><span class="term">invalid_argument</span></dt> 134<dd><p> 135 Invalid argument. 136 </p></dd> 137<dt><span class="term">message_size</span></dt> 138<dd><p> 139 Message too long. 140 </p></dd> 141<dt><span class="term">name_too_long</span></dt> 142<dd><p> 143 The name was too long. 144 </p></dd> 145<dt><span class="term">network_down</span></dt> 146<dd><p> 147 Network is down. 148 </p></dd> 149<dt><span class="term">network_reset</span></dt> 150<dd><p> 151 Network dropped connection on reset. 152 </p></dd> 153<dt><span class="term">network_unreachable</span></dt> 154<dd><p> 155 Network is unreachable. 156 </p></dd> 157<dt><span class="term">no_descriptors</span></dt> 158<dd><p> 159 Too many open files. 160 </p></dd> 161<dt><span class="term">no_buffer_space</span></dt> 162<dd><p> 163 No buffer space available. 164 </p></dd> 165<dt><span class="term">no_memory</span></dt> 166<dd><p> 167 Cannot allocate memory. 168 </p></dd> 169<dt><span class="term">no_permission</span></dt> 170<dd><p> 171 Operation not permitted. 172 </p></dd> 173<dt><span class="term">no_protocol_option</span></dt> 174<dd><p> 175 Protocol not available. 176 </p></dd> 177<dt><span class="term">no_such_device</span></dt> 178<dd><p> 179 No such device. 180 </p></dd> 181<dt><span class="term">not_connected</span></dt> 182<dd><p> 183 Transport endpoint is not connected. 184 </p></dd> 185<dt><span class="term">not_socket</span></dt> 186<dd><p> 187 Socket operation on non-socket. 188 </p></dd> 189<dt><span class="term">operation_aborted</span></dt> 190<dd><p> 191 Operation cancelled. 192 </p></dd> 193<dt><span class="term">operation_not_supported</span></dt> 194<dd><p> 195 Operation not supported. 196 </p></dd> 197<dt><span class="term">shut_down</span></dt> 198<dd><p> 199 Cannot send after transport endpoint shutdown. 200 </p></dd> 201<dt><span class="term">timed_out</span></dt> 202<dd><p> 203 Connection timed out. 204 </p></dd> 205<dt><span class="term">try_again</span></dt> 206<dd><p> 207 Resource temporarily unavailable. 208 </p></dd> 209<dt><span class="term">would_block</span></dt> 210<dd><p> 211 The socket is marked non-blocking and the requested operation would 212 block. 213 </p></dd> 214</dl> 215</div> 216<h5> 217<a name="boost_asio.reference.error__basic_errors.h1"></a> 218 <span class="phrase"><a name="boost_asio.reference.error__basic_errors.requirements"></a></span><a class="link" href="error__basic_errors.html#boost_asio.reference.error__basic_errors.requirements">Requirements</a> 219 </h5> 220<p> 221 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/error.hpp</code> 222 </p> 223<p> 224 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 225 </p> 226</div> 227<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 228<td align="left"></td> 229<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 230 Kohlhoff<p> 231 Distributed under the Boost Software License, Version 1.0. (See accompanying 232 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 233 </p> 234</div></td> 235</tr></table> 236<hr> 237<div class="spirit-nav"> 238<a accesskey="p" href="error__addrinfo_errors.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="error__get_addrinfo_category.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 239</div> 240</body> 241</html> 242