Imported Upstream version 1.72.0
[platform/upstream/boost.git] / doc / html / boost_asio / reference / basic_socket_acceptor__rebind_executor / other.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>basic_socket_acceptor::rebind_executor::other</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="../basic_socket_acceptor__rebind_executor.html" title="basic_socket_acceptor::rebind_executor">
9 <link rel="prev" href="../basic_socket_acceptor__rebind_executor.html" title="basic_socket_acceptor::rebind_executor">
10 <link rel="next" href="../basic_socket_iostream.html" title="basic_socket_iostream">
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="../basic_socket_acceptor__rebind_executor.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_acceptor__rebind_executor.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="../basic_socket_iostream.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="section">
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other"></a><a class="link" href="other.html" title="basic_socket_acceptor::rebind_executor::other">basic_socket_acceptor::rebind_executor::other</a>
28 </h4></div></div></div>
29 <p>
30           <a class="indexterm" name="boost_asio.indexterm.basic_socket_acceptor__rebind_executor.other"></a> 
31 The
32           socket type when rebound to the specified executor.
33         </p>
34 <pre class="programlisting">typedef basic_socket_acceptor&lt; Protocol, Executor1 &gt; other;
35 </pre>
36 <h6>
37 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h0"></a>
38           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.types"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.types">Types</a>
39         </h6>
40 <div class="informaltable"><table class="table">
41 <colgroup>
42 <col>
43 <col>
44 </colgroup>
45 <thead><tr>
46 <th>
47                   <p>
48                     Name
49                   </p>
50                 </th>
51 <th>
52                   <p>
53                     Description
54                   </p>
55                 </th>
56 </tr></thead>
57 <tbody>
58 <tr>
59 <td>
60                   <p>
61                     <a class="link" href="../basic_socket_acceptor__rebind_executor.html" title="basic_socket_acceptor::rebind_executor"><span class="bold"><strong>rebind_executor</strong></span></a>
62                   </p>
63                 </td>
64 <td>
65                   <p>
66                     Rebinds the acceptor type to another executor.
67                   </p>
68                 </td>
69 </tr>
70 <tr>
71 <td>
72                   <p>
73                     <a class="link" href="../basic_socket_acceptor/broadcast.html" title="basic_socket_acceptor::broadcast"><span class="bold"><strong>broadcast</strong></span></a>
74                   </p>
75                 </td>
76 <td>
77                   <p>
78                     Socket option to permit sending of broadcast messages.
79                   </p>
80                 </td>
81 </tr>
82 <tr>
83 <td>
84                   <p>
85                     <a class="link" href="../basic_socket_acceptor/bytes_readable.html" title="basic_socket_acceptor::bytes_readable"><span class="bold"><strong>bytes_readable</strong></span></a>
86                   </p>
87                 </td>
88 <td>
89                   <p>
90                     IO control command to get the amount of data that can be read
91                     without blocking.
92                   </p>
93                 </td>
94 </tr>
95 <tr>
96 <td>
97                   <p>
98                     <a class="link" href="../basic_socket_acceptor/debug.html" title="basic_socket_acceptor::debug"><span class="bold"><strong>debug</strong></span></a>
99                   </p>
100                 </td>
101 <td>
102                   <p>
103                     Socket option to enable socket-level debugging.
104                   </p>
105                 </td>
106 </tr>
107 <tr>
108 <td>
109                   <p>
110                     <a class="link" href="../basic_socket_acceptor/do_not_route.html" title="basic_socket_acceptor::do_not_route"><span class="bold"><strong>do_not_route</strong></span></a>
111                   </p>
112                 </td>
113 <td>
114                   <p>
115                     Socket option to prevent routing, use local interfaces only.
116                   </p>
117                 </td>
118 </tr>
119 <tr>
120 <td>
121                   <p>
122                     <a class="link" href="../basic_socket_acceptor/enable_connection_aborted.html" title="basic_socket_acceptor::enable_connection_aborted"><span class="bold"><strong>enable_connection_aborted</strong></span></a>
123                   </p>
124                 </td>
125 <td>
126                   <p>
127                     Socket option to report aborted connections on accept.
128                   </p>
129                 </td>
130 </tr>
131 <tr>
132 <td>
133                   <p>
134                     <a class="link" href="../basic_socket_acceptor/endpoint_type.html" title="basic_socket_acceptor::endpoint_type"><span class="bold"><strong>endpoint_type</strong></span></a>
135                   </p>
136                 </td>
137 <td>
138                   <p>
139                     The endpoint type.
140                   </p>
141                 </td>
142 </tr>
143 <tr>
144 <td>
145                   <p>
146                     <a class="link" href="../basic_socket_acceptor/executor_type.html" title="basic_socket_acceptor::executor_type"><span class="bold"><strong>executor_type</strong></span></a>
147                   </p>
148                 </td>
149 <td>
150                   <p>
151                     The type of the executor associated with the object.
152                   </p>
153                 </td>
154 </tr>
155 <tr>
156 <td>
157                   <p>
158                     <a class="link" href="../basic_socket_acceptor/keep_alive.html" title="basic_socket_acceptor::keep_alive"><span class="bold"><strong>keep_alive</strong></span></a>
159                   </p>
160                 </td>
161 <td>
162                   <p>
163                     Socket option to send keep-alives.
164                   </p>
165                 </td>
166 </tr>
167 <tr>
168 <td>
169                   <p>
170                     <a class="link" href="../basic_socket_acceptor/linger.html" title="basic_socket_acceptor::linger"><span class="bold"><strong>linger</strong></span></a>
171                   </p>
172                 </td>
173 <td>
174                   <p>
175                     Socket option to specify whether the socket lingers on close
176                     if unsent data is present.
177                   </p>
178                 </td>
179 </tr>
180 <tr>
181 <td>
182                   <p>
183                     <a class="link" href="../basic_socket_acceptor/message_flags.html" title="basic_socket_acceptor::message_flags"><span class="bold"><strong>message_flags</strong></span></a>
184                   </p>
185                 </td>
186 <td>
187                   <p>
188                     Bitmask type for flags that can be passed to send and receive
189                     operations.
190                   </p>
191                 </td>
192 </tr>
193 <tr>
194 <td>
195                   <p>
196                     <a class="link" href="../basic_socket_acceptor/native_handle_type.html" title="basic_socket_acceptor::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a>
197                   </p>
198                 </td>
199 <td>
200                   <p>
201                     The native representation of an acceptor.
202                   </p>
203                 </td>
204 </tr>
205 <tr>
206 <td>
207                   <p>
208                     <a class="link" href="../basic_socket_acceptor/out_of_band_inline.html" title="basic_socket_acceptor::out_of_band_inline"><span class="bold"><strong>out_of_band_inline</strong></span></a>
209                   </p>
210                 </td>
211 <td>
212                   <p>
213                     Socket option for putting received out-of-band data inline.
214                   </p>
215                 </td>
216 </tr>
217 <tr>
218 <td>
219                   <p>
220                     <a class="link" href="../basic_socket_acceptor/protocol_type.html" title="basic_socket_acceptor::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
221                   </p>
222                 </td>
223 <td>
224                   <p>
225                     The protocol type.
226                   </p>
227                 </td>
228 </tr>
229 <tr>
230 <td>
231                   <p>
232                     <a class="link" href="../basic_socket_acceptor/receive_buffer_size.html" title="basic_socket_acceptor::receive_buffer_size"><span class="bold"><strong>receive_buffer_size</strong></span></a>
233                   </p>
234                 </td>
235 <td>
236                   <p>
237                     Socket option for the receive buffer size of a socket.
238                   </p>
239                 </td>
240 </tr>
241 <tr>
242 <td>
243                   <p>
244                     <a class="link" href="../basic_socket_acceptor/receive_low_watermark.html" title="basic_socket_acceptor::receive_low_watermark"><span class="bold"><strong>receive_low_watermark</strong></span></a>
245                   </p>
246                 </td>
247 <td>
248                   <p>
249                     Socket option for the receive low watermark.
250                   </p>
251                 </td>
252 </tr>
253 <tr>
254 <td>
255                   <p>
256                     <a class="link" href="../basic_socket_acceptor/reuse_address.html" title="basic_socket_acceptor::reuse_address"><span class="bold"><strong>reuse_address</strong></span></a>
257                   </p>
258                 </td>
259 <td>
260                   <p>
261                     Socket option to allow the socket to be bound to an address that
262                     is already in use.
263                   </p>
264                 </td>
265 </tr>
266 <tr>
267 <td>
268                   <p>
269                     <a class="link" href="../basic_socket_acceptor/send_buffer_size.html" title="basic_socket_acceptor::send_buffer_size"><span class="bold"><strong>send_buffer_size</strong></span></a>
270                   </p>
271                 </td>
272 <td>
273                   <p>
274                     Socket option for the send buffer size of a socket.
275                   </p>
276                 </td>
277 </tr>
278 <tr>
279 <td>
280                   <p>
281                     <a class="link" href="../basic_socket_acceptor/send_low_watermark.html" title="basic_socket_acceptor::send_low_watermark"><span class="bold"><strong>send_low_watermark</strong></span></a>
282                   </p>
283                 </td>
284 <td>
285                   <p>
286                     Socket option for the send low watermark.
287                   </p>
288                 </td>
289 </tr>
290 <tr>
291 <td>
292                   <p>
293                     <a class="link" href="../basic_socket_acceptor/shutdown_type.html" title="basic_socket_acceptor::shutdown_type"><span class="bold"><strong>shutdown_type</strong></span></a>
294                   </p>
295                 </td>
296 <td>
297                   <p>
298                     Different ways a socket may be shutdown.
299                   </p>
300                 </td>
301 </tr>
302 <tr>
303 <td>
304                   <p>
305                     <a class="link" href="../basic_socket_acceptor/wait_type.html" title="basic_socket_acceptor::wait_type"><span class="bold"><strong>wait_type</strong></span></a>
306                   </p>
307                 </td>
308 <td>
309                   <p>
310                     Wait types.
311                   </p>
312                 </td>
313 </tr>
314 </tbody>
315 </table></div>
316 <h6>
317 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h1"></a>
318           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.member_functions"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.member_functions">Member
319           Functions</a>
320         </h6>
321 <div class="informaltable"><table class="table">
322 <colgroup>
323 <col>
324 <col>
325 </colgroup>
326 <thead><tr>
327 <th>
328                   <p>
329                     Name
330                   </p>
331                 </th>
332 <th>
333                   <p>
334                     Description
335                   </p>
336                 </th>
337 </tr></thead>
338 <tbody>
339 <tr>
340 <td>
341                   <p>
342                     <a class="link" href="../basic_socket_acceptor/accept.html" title="basic_socket_acceptor::accept"><span class="bold"><strong>accept</strong></span></a>
343                   </p>
344                 </td>
345 <td>
346                   <p>
347                     Accept a new connection. <br> <span class="silver"> &#8212;</span><br> Accept a new connection
348                     and obtain the endpoint of the peer.
349                   </p>
350                 </td>
351 </tr>
352 <tr>
353 <td>
354                   <p>
355                     <a class="link" href="../basic_socket_acceptor/assign.html" title="basic_socket_acceptor::assign"><span class="bold"><strong>assign</strong></span></a>
356                   </p>
357                 </td>
358 <td>
359                   <p>
360                     Assigns an existing native acceptor to the acceptor.
361                   </p>
362                 </td>
363 </tr>
364 <tr>
365 <td>
366                   <p>
367                     <a class="link" href="../basic_socket_acceptor/async_accept.html" title="basic_socket_acceptor::async_accept"><span class="bold"><strong>async_accept</strong></span></a>
368                   </p>
369                 </td>
370 <td>
371                   <p>
372                     Start an asynchronous accept.
373                   </p>
374                 </td>
375 </tr>
376 <tr>
377 <td>
378                   <p>
379                     <a class="link" href="../basic_socket_acceptor/async_wait.html" title="basic_socket_acceptor::async_wait"><span class="bold"><strong>async_wait</strong></span></a>
380                   </p>
381                 </td>
382 <td>
383                   <p>
384                     Asynchronously wait for the acceptor to become ready to read,
385                     ready to write, or to have pending error conditions.
386                   </p>
387                 </td>
388 </tr>
389 <tr>
390 <td>
391                   <p>
392                     <a class="link" href="../basic_socket_acceptor/basic_socket_acceptor.html" title="basic_socket_acceptor::basic_socket_acceptor"><span class="bold"><strong>basic_socket_acceptor</strong></span></a>
393                   </p>
394                 </td>
395 <td>
396                   <p>
397                     Construct an acceptor without opening it. <br> <span class="silver"> &#8212;</span><br> Construct
398                     an open acceptor. <br> <span class="silver"> &#8212;</span><br> Construct an acceptor opened
399                     on the given endpoint. <br> <span class="silver"> &#8212;</span><br> Construct a basic_socket_acceptor
400                     on an existing native acceptor. <br> <span class="silver"> &#8212;</span><br> Move-construct
401                     a basic_socket_acceptor from another. <br> <span class="silver"> &#8212;</span><br> Move-construct
402                     a basic_socket_acceptor from an acceptor of another protocol
403                     type.
404                   </p>
405                 </td>
406 </tr>
407 <tr>
408 <td>
409                   <p>
410                     <a class="link" href="../basic_socket_acceptor/bind.html" title="basic_socket_acceptor::bind"><span class="bold"><strong>bind</strong></span></a>
411                   </p>
412                 </td>
413 <td>
414                   <p>
415                     Bind the acceptor to the given local endpoint.
416                   </p>
417                 </td>
418 </tr>
419 <tr>
420 <td>
421                   <p>
422                     <a class="link" href="../basic_socket_acceptor/cancel.html" title="basic_socket_acceptor::cancel"><span class="bold"><strong>cancel</strong></span></a>
423                   </p>
424                 </td>
425 <td>
426                   <p>
427                     Cancel all asynchronous operations associated with the acceptor.
428                   </p>
429                 </td>
430 </tr>
431 <tr>
432 <td>
433                   <p>
434                     <a class="link" href="../basic_socket_acceptor/close.html" title="basic_socket_acceptor::close"><span class="bold"><strong>close</strong></span></a>
435                   </p>
436                 </td>
437 <td>
438                   <p>
439                     Close the acceptor.
440                   </p>
441                 </td>
442 </tr>
443 <tr>
444 <td>
445                   <p>
446                     <a class="link" href="../basic_socket_acceptor/get_executor.html" title="basic_socket_acceptor::get_executor"><span class="bold"><strong>get_executor</strong></span></a>
447                   </p>
448                 </td>
449 <td>
450                   <p>
451                     Get the executor associated with the object.
452                   </p>
453                 </td>
454 </tr>
455 <tr>
456 <td>
457                   <p>
458                     <a class="link" href="../basic_socket_acceptor/get_option.html" title="basic_socket_acceptor::get_option"><span class="bold"><strong>get_option</strong></span></a>
459                   </p>
460                 </td>
461 <td>
462                   <p>
463                     Get an option from the acceptor.
464                   </p>
465                 </td>
466 </tr>
467 <tr>
468 <td>
469                   <p>
470                     <a class="link" href="../basic_socket_acceptor/io_control.html" title="basic_socket_acceptor::io_control"><span class="bold"><strong>io_control</strong></span></a>
471                   </p>
472                 </td>
473 <td>
474                   <p>
475                     Perform an IO control command on the acceptor.
476                   </p>
477                 </td>
478 </tr>
479 <tr>
480 <td>
481                   <p>
482                     <a class="link" href="../basic_socket_acceptor/is_open.html" title="basic_socket_acceptor::is_open"><span class="bold"><strong>is_open</strong></span></a>
483                   </p>
484                 </td>
485 <td>
486                   <p>
487                     Determine whether the acceptor is open.
488                   </p>
489                 </td>
490 </tr>
491 <tr>
492 <td>
493                   <p>
494                     <a class="link" href="../basic_socket_acceptor/listen.html" title="basic_socket_acceptor::listen"><span class="bold"><strong>listen</strong></span></a>
495                   </p>
496                 </td>
497 <td>
498                   <p>
499                     Place the acceptor into the state where it will listen for new
500                     connections.
501                   </p>
502                 </td>
503 </tr>
504 <tr>
505 <td>
506                   <p>
507                     <a class="link" href="../basic_socket_acceptor/local_endpoint.html" title="basic_socket_acceptor::local_endpoint"><span class="bold"><strong>local_endpoint</strong></span></a>
508                   </p>
509                 </td>
510 <td>
511                   <p>
512                     Get the local endpoint of the acceptor.
513                   </p>
514                 </td>
515 </tr>
516 <tr>
517 <td>
518                   <p>
519                     <a class="link" href="../basic_socket_acceptor/native_handle.html" title="basic_socket_acceptor::native_handle"><span class="bold"><strong>native_handle</strong></span></a>
520                   </p>
521                 </td>
522 <td>
523                   <p>
524                     Get the native acceptor representation.
525                   </p>
526                 </td>
527 </tr>
528 <tr>
529 <td>
530                   <p>
531                     <a class="link" href="../basic_socket_acceptor/native_non_blocking.html" title="basic_socket_acceptor::native_non_blocking"><span class="bold"><strong>native_non_blocking</strong></span></a>
532                   </p>
533                 </td>
534 <td>
535                   <p>
536                     Gets the non-blocking mode of the native acceptor implementation.
537                     <br> <span class="silver"> &#8212;</span><br> Sets the non-blocking mode of the native acceptor
538                     implementation.
539                   </p>
540                 </td>
541 </tr>
542 <tr>
543 <td>
544                   <p>
545                     <a class="link" href="../basic_socket_acceptor/non_blocking.html" title="basic_socket_acceptor::non_blocking"><span class="bold"><strong>non_blocking</strong></span></a>
546                   </p>
547                 </td>
548 <td>
549                   <p>
550                     Gets the non-blocking mode of the acceptor. <br> <span class="silver"> &#8212;</span><br> Sets
551                     the non-blocking mode of the acceptor.
552                   </p>
553                 </td>
554 </tr>
555 <tr>
556 <td>
557                   <p>
558                     <a class="link" href="../basic_socket_acceptor/open.html" title="basic_socket_acceptor::open"><span class="bold"><strong>open</strong></span></a>
559                   </p>
560                 </td>
561 <td>
562                   <p>
563                     Open the acceptor using the specified protocol.
564                   </p>
565                 </td>
566 </tr>
567 <tr>
568 <td>
569                   <p>
570                     <a class="link" href="../basic_socket_acceptor/operator_eq_.html" title="basic_socket_acceptor::operator="><span class="bold"><strong>operator=</strong></span></a>
571                   </p>
572                 </td>
573 <td>
574                   <p>
575                     Move-assign a basic_socket_acceptor from another. <br> <span class="silver"> &#8212;</span><br>
576                     Move-assign a basic_socket_acceptor from an acceptor of another
577                     protocol type.
578                   </p>
579                 </td>
580 </tr>
581 <tr>
582 <td>
583                   <p>
584                     <a class="link" href="../basic_socket_acceptor/release.html" title="basic_socket_acceptor::release"><span class="bold"><strong>release</strong></span></a>
585                   </p>
586                 </td>
587 <td>
588                   <p>
589                     Release ownership of the underlying native acceptor.
590                   </p>
591                 </td>
592 </tr>
593 <tr>
594 <td>
595                   <p>
596                     <a class="link" href="../basic_socket_acceptor/set_option.html" title="basic_socket_acceptor::set_option"><span class="bold"><strong>set_option</strong></span></a>
597                   </p>
598                 </td>
599 <td>
600                   <p>
601                     Set an option on the acceptor.
602                   </p>
603                 </td>
604 </tr>
605 <tr>
606 <td>
607                   <p>
608                     <a class="link" href="../basic_socket_acceptor/wait.html" title="basic_socket_acceptor::wait"><span class="bold"><strong>wait</strong></span></a>
609                   </p>
610                 </td>
611 <td>
612                   <p>
613                     Wait for the acceptor to become ready to read, ready to write,
614                     or to have pending error conditions.
615                   </p>
616                 </td>
617 </tr>
618 <tr>
619 <td>
620                   <p>
621                     <a class="link" href="../basic_socket_acceptor/_basic_socket_acceptor.html" title="basic_socket_acceptor::~basic_socket_acceptor"><span class="bold"><strong>~basic_socket_acceptor</strong></span></a>
622                   </p>
623                 </td>
624 <td>
625                   <p>
626                     Destroys the acceptor.
627                   </p>
628                 </td>
629 </tr>
630 </tbody>
631 </table></div>
632 <h6>
633 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h2"></a>
634           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.data_members"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.data_members">Data
635           Members</a>
636         </h6>
637 <div class="informaltable"><table class="table">
638 <colgroup>
639 <col>
640 <col>
641 </colgroup>
642 <thead><tr>
643 <th>
644                   <p>
645                     Name
646                   </p>
647                 </th>
648 <th>
649                   <p>
650                     Description
651                   </p>
652                 </th>
653 </tr></thead>
654 <tbody>
655 <tr>
656 <td>
657                   <p>
658                     <a class="link" href="../basic_socket_acceptor/max_connections.html" title="basic_socket_acceptor::max_connections"><span class="bold"><strong>max_connections</strong></span></a>
659                   </p>
660                 </td>
661 <td>
662                   <p>
663                     (Deprecated: Use max_listen_connections.) The maximum length
664                     of the queue of pending incoming connections.
665                   </p>
666                 </td>
667 </tr>
668 <tr>
669 <td>
670                   <p>
671                     <a class="link" href="../basic_socket_acceptor/max_listen_connections.html" title="basic_socket_acceptor::max_listen_connections"><span class="bold"><strong>max_listen_connections</strong></span></a>
672                   </p>
673                 </td>
674 <td>
675                   <p>
676                     The maximum length of the queue of pending incoming connections.
677                   </p>
678                 </td>
679 </tr>
680 <tr>
681 <td>
682                   <p>
683                     <a class="link" href="../basic_socket_acceptor/message_do_not_route.html" title="basic_socket_acceptor::message_do_not_route"><span class="bold"><strong>message_do_not_route</strong></span></a>
684                   </p>
685                 </td>
686 <td>
687                   <p>
688                     Specify that the data should not be subject to routing.
689                   </p>
690                 </td>
691 </tr>
692 <tr>
693 <td>
694                   <p>
695                     <a class="link" href="../basic_socket_acceptor/message_end_of_record.html" title="basic_socket_acceptor::message_end_of_record"><span class="bold"><strong>message_end_of_record</strong></span></a>
696                   </p>
697                 </td>
698 <td>
699                   <p>
700                     Specifies that the data marks the end of a record.
701                   </p>
702                 </td>
703 </tr>
704 <tr>
705 <td>
706                   <p>
707                     <a class="link" href="../basic_socket_acceptor/message_out_of_band.html" title="basic_socket_acceptor::message_out_of_band"><span class="bold"><strong>message_out_of_band</strong></span></a>
708                   </p>
709                 </td>
710 <td>
711                   <p>
712                     Process out-of-band data.
713                   </p>
714                 </td>
715 </tr>
716 <tr>
717 <td>
718                   <p>
719                     <a class="link" href="../basic_socket_acceptor/message_peek.html" title="basic_socket_acceptor::message_peek"><span class="bold"><strong>message_peek</strong></span></a>
720                   </p>
721                 </td>
722 <td>
723                   <p>
724                     Peek at incoming data without removing it from the input queue.
725                   </p>
726                 </td>
727 </tr>
728 </tbody>
729 </table></div>
730 <p>
731           The <a class="link" href="../basic_socket_acceptor.html" title="basic_socket_acceptor"><code class="computeroutput">basic_socket_acceptor</code></a>
732           class template is used for accepting new socket connections.
733         </p>
734 <h6>
735 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h3"></a>
736           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.thread_safety"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.thread_safety">Thread
737           Safety</a>
738         </h6>
739 <p>
740           <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
741         </p>
742 <p>
743           <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
744         </p>
745 <h6>
746 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h4"></a>
747           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.example"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.example">Example</a>
748         </h6>
749 <p>
750           Opening a socket acceptor with the SO_REUSEADDR option enabled:
751         </p>
752 <pre class="programlisting">boost::asio::ip::tcp::acceptor acceptor(my_context);
753 boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::tcp::v4(), port);
754 acceptor.open(endpoint.protocol());
755 acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));
756 acceptor.bind(endpoint);
757 acceptor.listen();
758 </pre>
759 <h6>
760 <a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.h5"></a>
761           <span class="phrase"><a name="boost_asio.reference.basic_socket_acceptor__rebind_executor.other.requirements"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket_acceptor__rebind_executor.other.requirements">Requirements</a>
762         </h6>
763 <p>
764           <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/basic_socket_acceptor.hpp</code>
765         </p>
766 <p>
767           <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
768         </p>
769 </div>
770 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
771 <td align="left"></td>
772 <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2019 Christopher M. Kohlhoff<p>
773         Distributed under the Boost Software License, Version 1.0. (See accompanying
774         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>)
775       </p>
776 </div></td>
777 </tr></table>
778 <hr>
779 <div class="spirit-nav">
780 <a accesskey="p" href="../basic_socket_acceptor__rebind_executor.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_acceptor__rebind_executor.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="../basic_socket_iostream.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
781 </div>
782 </body>
783 </html>