1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>local::stream_protocol</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="local__datagram_protocol/type.html" title="local::datagram_protocol::type"> 10<link rel="next" href="local__stream_protocol/acceptor.html" title="local::stream_protocol::acceptor"> 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="local__datagram_protocol/type.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="local__stream_protocol/acceptor.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.local__stream_protocol"></a><a class="link" href="local__stream_protocol.html" title="local::stream_protocol">local::stream_protocol</a> 28</h3></div></div></div> 29<p> 30 Encapsulates the flags needed for stream-oriented UNIX sockets. 31 </p> 32<pre class="programlisting">class stream_protocol 33</pre> 34<h5> 35<a name="boost_asio.reference.local__stream_protocol.h0"></a> 36 <span class="phrase"><a name="boost_asio.reference.local__stream_protocol.types"></a></span><a class="link" href="local__stream_protocol.html#boost_asio.reference.local__stream_protocol.types">Types</a> 37 </h5> 38<div class="informaltable"><table class="table"> 39<colgroup> 40<col> 41<col> 42</colgroup> 43<thead><tr> 44<th> 45 <p> 46 Name 47 </p> 48 </th> 49<th> 50 <p> 51 Description 52 </p> 53 </th> 54</tr></thead> 55<tbody> 56<tr> 57<td> 58 <p> 59 <a class="link" href="local__stream_protocol/acceptor.html" title="local::stream_protocol::acceptor"><span class="bold"><strong>acceptor</strong></span></a> 60 </p> 61 </td> 62<td> 63 <p> 64 The UNIX domain acceptor type. 65 </p> 66 </td> 67</tr> 68<tr> 69<td> 70 <p> 71 <a class="link" href="local__stream_protocol/endpoint.html" title="local::stream_protocol::endpoint"><span class="bold"><strong>endpoint</strong></span></a> 72 </p> 73 </td> 74<td> 75 <p> 76 The type of a UNIX domain endpoint. 77 </p> 78 </td> 79</tr> 80<tr> 81<td> 82 <p> 83 <a class="link" href="local__stream_protocol/iostream.html" title="local::stream_protocol::iostream"><span class="bold"><strong>iostream</strong></span></a> 84 </p> 85 </td> 86<td> 87 <p> 88 The UNIX domain iostream type. 89 </p> 90 </td> 91</tr> 92<tr> 93<td> 94 <p> 95 <a class="link" href="local__stream_protocol/socket.html" title="local::stream_protocol::socket"><span class="bold"><strong>socket</strong></span></a> 96 </p> 97 </td> 98<td> 99 <p> 100 The UNIX domain socket type. 101 </p> 102 </td> 103</tr> 104</tbody> 105</table></div> 106<h5> 107<a name="boost_asio.reference.local__stream_protocol.h1"></a> 108 <span class="phrase"><a name="boost_asio.reference.local__stream_protocol.member_functions"></a></span><a class="link" href="local__stream_protocol.html#boost_asio.reference.local__stream_protocol.member_functions">Member 109 Functions</a> 110 </h5> 111<div class="informaltable"><table class="table"> 112<colgroup> 113<col> 114<col> 115</colgroup> 116<thead><tr> 117<th> 118 <p> 119 Name 120 </p> 121 </th> 122<th> 123 <p> 124 Description 125 </p> 126 </th> 127</tr></thead> 128<tbody> 129<tr> 130<td> 131 <p> 132 <a class="link" href="local__stream_protocol/family.html" title="local::stream_protocol::family"><span class="bold"><strong>family</strong></span></a> 133 </p> 134 </td> 135<td> 136 <p> 137 Obtain an identifier for the protocol family. 138 </p> 139 </td> 140</tr> 141<tr> 142<td> 143 <p> 144 <a class="link" href="local__stream_protocol/protocol.html" title="local::stream_protocol::protocol"><span class="bold"><strong>protocol</strong></span></a> 145 </p> 146 </td> 147<td> 148 <p> 149 Obtain an identifier for the protocol. 150 </p> 151 </td> 152</tr> 153<tr> 154<td> 155 <p> 156 <a class="link" href="local__stream_protocol/type.html" title="local::stream_protocol::type"><span class="bold"><strong>type</strong></span></a> 157 </p> 158 </td> 159<td> 160 <p> 161 Obtain an identifier for the type of the protocol. 162 </p> 163 </td> 164</tr> 165</tbody> 166</table></div> 167<p> 168 The <a class="link" href="local__stream_protocol.html" title="local::stream_protocol"><code class="computeroutput">local::stream_protocol</code></a> 169 class contains flags necessary for stream-oriented UNIX domain sockets. 170 </p> 171<h5> 172<a name="boost_asio.reference.local__stream_protocol.h2"></a> 173 <span class="phrase"><a name="boost_asio.reference.local__stream_protocol.thread_safety"></a></span><a class="link" href="local__stream_protocol.html#boost_asio.reference.local__stream_protocol.thread_safety">Thread 174 Safety</a> 175 </h5> 176<p> 177 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe. 178 </p> 179<p> 180 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Safe. 181 </p> 182<h5> 183<a name="boost_asio.reference.local__stream_protocol.h3"></a> 184 <span class="phrase"><a name="boost_asio.reference.local__stream_protocol.requirements"></a></span><a class="link" href="local__stream_protocol.html#boost_asio.reference.local__stream_protocol.requirements">Requirements</a> 185 </h5> 186<p> 187 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/local/stream_protocol.hpp</code> 188 </p> 189<p> 190 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 191 </p> 192</div> 193<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 194<td align="left"></td> 195<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 196 Kohlhoff<p> 197 Distributed under the Boost Software License, Version 1.0. (See accompanying 198 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>) 199 </p> 200</div></td> 201</tr></table> 202<hr> 203<div class="spirit-nav"> 204<a accesskey="p" href="local__datagram_protocol/type.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="local__stream_protocol/acceptor.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 205</div> 206</body> 207</html> 208