1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>basic_socket::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__rebind_executor.html" title="basic_socket::rebind_executor"> 9<link rel="prev" href="../basic_socket__rebind_executor.html" title="basic_socket::rebind_executor"> 10<link rel="next" href="../basic_socket_acceptor.html" title="basic_socket_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="../basic_socket__rebind_executor.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket__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_acceptor.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__rebind_executor.other"></a><a class="link" href="other.html" title="basic_socket::rebind_executor::other">basic_socket::rebind_executor::other</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="boost_asio.indexterm.basic_socket__rebind_executor.other"></a> 31The 32 socket type when rebound to the specified executor. 33 </p> 34<pre class="programlisting">typedef basic_socket< Protocol, Executor1 > other; 35</pre> 36<h6> 37<a name="boost_asio.reference.basic_socket__rebind_executor.other.h0"></a> 38 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.types"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__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__rebind_executor.html" title="basic_socket::rebind_executor"><span class="bold"><strong>rebind_executor</strong></span></a> 62 </p> 63 </td> 64<td> 65 <p> 66 Rebinds the socket type to another executor. 67 </p> 68 </td> 69</tr> 70<tr> 71<td> 72 <p> 73 <a class="link" href="../basic_socket/broadcast.html" title="basic_socket::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/bytes_readable.html" title="basic_socket::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/debug.html" title="basic_socket::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/do_not_route.html" title="basic_socket::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/enable_connection_aborted.html" title="basic_socket::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/endpoint_type.html" title="basic_socket::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/executor_type.html" title="basic_socket::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/keep_alive.html" title="basic_socket::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/linger.html" title="basic_socket::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/lowest_layer_type.html" title="basic_socket::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a> 184 </p> 185 </td> 186<td> 187 <p> 188 A basic_socket is always the lowest layer. 189 </p> 190 </td> 191</tr> 192<tr> 193<td> 194 <p> 195 <a class="link" href="../basic_socket/message_flags.html" title="basic_socket::message_flags"><span class="bold"><strong>message_flags</strong></span></a> 196 </p> 197 </td> 198<td> 199 <p> 200 Bitmask type for flags that can be passed to send and receive 201 operations. 202 </p> 203 </td> 204</tr> 205<tr> 206<td> 207 <p> 208 <a class="link" href="../basic_socket/native_handle_type.html" title="basic_socket::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a> 209 </p> 210 </td> 211<td> 212 <p> 213 The native representation of a socket. 214 </p> 215 </td> 216</tr> 217<tr> 218<td> 219 <p> 220 <a class="link" href="../basic_socket/out_of_band_inline.html" title="basic_socket::out_of_band_inline"><span class="bold"><strong>out_of_band_inline</strong></span></a> 221 </p> 222 </td> 223<td> 224 <p> 225 Socket option for putting received out-of-band data inline. 226 </p> 227 </td> 228</tr> 229<tr> 230<td> 231 <p> 232 <a class="link" href="../basic_socket/protocol_type.html" title="basic_socket::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a> 233 </p> 234 </td> 235<td> 236 <p> 237 The protocol type. 238 </p> 239 </td> 240</tr> 241<tr> 242<td> 243 <p> 244 <a class="link" href="../basic_socket/receive_buffer_size.html" title="basic_socket::receive_buffer_size"><span class="bold"><strong>receive_buffer_size</strong></span></a> 245 </p> 246 </td> 247<td> 248 <p> 249 Socket option for the receive buffer size of a socket. 250 </p> 251 </td> 252</tr> 253<tr> 254<td> 255 <p> 256 <a class="link" href="../basic_socket/receive_low_watermark.html" title="basic_socket::receive_low_watermark"><span class="bold"><strong>receive_low_watermark</strong></span></a> 257 </p> 258 </td> 259<td> 260 <p> 261 Socket option for the receive low watermark. 262 </p> 263 </td> 264</tr> 265<tr> 266<td> 267 <p> 268 <a class="link" href="../basic_socket/reuse_address.html" title="basic_socket::reuse_address"><span class="bold"><strong>reuse_address</strong></span></a> 269 </p> 270 </td> 271<td> 272 <p> 273 Socket option to allow the socket to be bound to an address that 274 is already in use. 275 </p> 276 </td> 277</tr> 278<tr> 279<td> 280 <p> 281 <a class="link" href="../basic_socket/send_buffer_size.html" title="basic_socket::send_buffer_size"><span class="bold"><strong>send_buffer_size</strong></span></a> 282 </p> 283 </td> 284<td> 285 <p> 286 Socket option for the send buffer size of a socket. 287 </p> 288 </td> 289</tr> 290<tr> 291<td> 292 <p> 293 <a class="link" href="../basic_socket/send_low_watermark.html" title="basic_socket::send_low_watermark"><span class="bold"><strong>send_low_watermark</strong></span></a> 294 </p> 295 </td> 296<td> 297 <p> 298 Socket option for the send low watermark. 299 </p> 300 </td> 301</tr> 302<tr> 303<td> 304 <p> 305 <a class="link" href="../basic_socket/shutdown_type.html" title="basic_socket::shutdown_type"><span class="bold"><strong>shutdown_type</strong></span></a> 306 </p> 307 </td> 308<td> 309 <p> 310 Different ways a socket may be shutdown. 311 </p> 312 </td> 313</tr> 314<tr> 315<td> 316 <p> 317 <a class="link" href="../basic_socket/wait_type.html" title="basic_socket::wait_type"><span class="bold"><strong>wait_type</strong></span></a> 318 </p> 319 </td> 320<td> 321 <p> 322 Wait types. 323 </p> 324 </td> 325</tr> 326</tbody> 327</table></div> 328<h6> 329<a name="boost_asio.reference.basic_socket__rebind_executor.other.h1"></a> 330 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.member_functions"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__rebind_executor.other.member_functions">Member 331 Functions</a> 332 </h6> 333<div class="informaltable"><table class="table"> 334<colgroup> 335<col> 336<col> 337</colgroup> 338<thead><tr> 339<th> 340 <p> 341 Name 342 </p> 343 </th> 344<th> 345 <p> 346 Description 347 </p> 348 </th> 349</tr></thead> 350<tbody> 351<tr> 352<td> 353 <p> 354 <a class="link" href="../basic_socket/assign.html" title="basic_socket::assign"><span class="bold"><strong>assign</strong></span></a> 355 </p> 356 </td> 357<td> 358 <p> 359 Assign an existing native socket to the socket. 360 </p> 361 </td> 362</tr> 363<tr> 364<td> 365 <p> 366 <a class="link" href="../basic_socket/async_connect.html" title="basic_socket::async_connect"><span class="bold"><strong>async_connect</strong></span></a> 367 </p> 368 </td> 369<td> 370 <p> 371 Start an asynchronous connect. 372 </p> 373 </td> 374</tr> 375<tr> 376<td> 377 <p> 378 <a class="link" href="../basic_socket/async_wait.html" title="basic_socket::async_wait"><span class="bold"><strong>async_wait</strong></span></a> 379 </p> 380 </td> 381<td> 382 <p> 383 Asynchronously wait for the socket to become ready to read, ready 384 to write, or to have pending error conditions. 385 </p> 386 </td> 387</tr> 388<tr> 389<td> 390 <p> 391 <a class="link" href="../basic_socket/at_mark.html" title="basic_socket::at_mark"><span class="bold"><strong>at_mark</strong></span></a> 392 </p> 393 </td> 394<td> 395 <p> 396 Determine whether the socket is at the out-of-band data mark. 397 </p> 398 </td> 399</tr> 400<tr> 401<td> 402 <p> 403 <a class="link" href="../basic_socket/available.html" title="basic_socket::available"><span class="bold"><strong>available</strong></span></a> 404 </p> 405 </td> 406<td> 407 <p> 408 Determine the number of bytes available for reading. 409 </p> 410 </td> 411</tr> 412<tr> 413<td> 414 <p> 415 <a class="link" href="../basic_socket/basic_socket.html" title="basic_socket::basic_socket"><span class="bold"><strong>basic_socket</strong></span></a> <span class="silver">[constructor]</span> 416 </p> 417 </td> 418<td> 419 <p> 420 Construct a basic_socket without opening it. <br> <span class="silver"> —</span><br> Construct 421 and open a basic_socket. <br> <span class="silver"> —</span><br> Construct a basic_socket, 422 opening it and binding it to the given local endpoint. <br> 423 <span class="silver"> —</span><br> Construct a basic_socket on an existing native socket. 424 <br> <span class="silver"> —</span><br> Move-construct a basic_socket from another. <br> 425 <span class="silver"> —</span><br> Move-construct a basic_socket from a socket of another 426 protocol type. 427 </p> 428 </td> 429</tr> 430<tr> 431<td> 432 <p> 433 <a class="link" href="../basic_socket/bind.html" title="basic_socket::bind"><span class="bold"><strong>bind</strong></span></a> 434 </p> 435 </td> 436<td> 437 <p> 438 Bind the socket to the given local endpoint. 439 </p> 440 </td> 441</tr> 442<tr> 443<td> 444 <p> 445 <a class="link" href="../basic_socket/cancel.html" title="basic_socket::cancel"><span class="bold"><strong>cancel</strong></span></a> 446 </p> 447 </td> 448<td> 449 <p> 450 Cancel all asynchronous operations associated with the socket. 451 </p> 452 </td> 453</tr> 454<tr> 455<td> 456 <p> 457 <a class="link" href="../basic_socket/close.html" title="basic_socket::close"><span class="bold"><strong>close</strong></span></a> 458 </p> 459 </td> 460<td> 461 <p> 462 Close the socket. 463 </p> 464 </td> 465</tr> 466<tr> 467<td> 468 <p> 469 <a class="link" href="../basic_socket/connect.html" title="basic_socket::connect"><span class="bold"><strong>connect</strong></span></a> 470 </p> 471 </td> 472<td> 473 <p> 474 Connect the socket to the specified endpoint. 475 </p> 476 </td> 477</tr> 478<tr> 479<td> 480 <p> 481 <a class="link" href="../basic_socket/get_executor.html" title="basic_socket::get_executor"><span class="bold"><strong>get_executor</strong></span></a> 482 </p> 483 </td> 484<td> 485 <p> 486 Get the executor associated with the object. 487 </p> 488 </td> 489</tr> 490<tr> 491<td> 492 <p> 493 <a class="link" href="../basic_socket/get_option.html" title="basic_socket::get_option"><span class="bold"><strong>get_option</strong></span></a> 494 </p> 495 </td> 496<td> 497 <p> 498 Get an option from the socket. 499 </p> 500 </td> 501</tr> 502<tr> 503<td> 504 <p> 505 <a class="link" href="../basic_socket/io_control.html" title="basic_socket::io_control"><span class="bold"><strong>io_control</strong></span></a> 506 </p> 507 </td> 508<td> 509 <p> 510 Perform an IO control command on the socket. 511 </p> 512 </td> 513</tr> 514<tr> 515<td> 516 <p> 517 <a class="link" href="../basic_socket/is_open.html" title="basic_socket::is_open"><span class="bold"><strong>is_open</strong></span></a> 518 </p> 519 </td> 520<td> 521 <p> 522 Determine whether the socket is open. 523 </p> 524 </td> 525</tr> 526<tr> 527<td> 528 <p> 529 <a class="link" href="../basic_socket/local_endpoint.html" title="basic_socket::local_endpoint"><span class="bold"><strong>local_endpoint</strong></span></a> 530 </p> 531 </td> 532<td> 533 <p> 534 Get the local endpoint of the socket. 535 </p> 536 </td> 537</tr> 538<tr> 539<td> 540 <p> 541 <a class="link" href="../basic_socket/lowest_layer.html" title="basic_socket::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a> 542 </p> 543 </td> 544<td> 545 <p> 546 Get a reference to the lowest layer. <br> <span class="silver"> —</span><br> Get a const 547 reference to the lowest layer. 548 </p> 549 </td> 550</tr> 551<tr> 552<td> 553 <p> 554 <a class="link" href="../basic_socket/native_handle.html" title="basic_socket::native_handle"><span class="bold"><strong>native_handle</strong></span></a> 555 </p> 556 </td> 557<td> 558 <p> 559 Get the native socket representation. 560 </p> 561 </td> 562</tr> 563<tr> 564<td> 565 <p> 566 <a class="link" href="../basic_socket/native_non_blocking.html" title="basic_socket::native_non_blocking"><span class="bold"><strong>native_non_blocking</strong></span></a> 567 </p> 568 </td> 569<td> 570 <p> 571 Gets the non-blocking mode of the native socket implementation. 572 <br> <span class="silver"> —</span><br> Sets the non-blocking mode of the native socket 573 implementation. 574 </p> 575 </td> 576</tr> 577<tr> 578<td> 579 <p> 580 <a class="link" href="../basic_socket/non_blocking.html" title="basic_socket::non_blocking"><span class="bold"><strong>non_blocking</strong></span></a> 581 </p> 582 </td> 583<td> 584 <p> 585 Gets the non-blocking mode of the socket. <br> <span class="silver"> —</span><br> Sets 586 the non-blocking mode of the socket. 587 </p> 588 </td> 589</tr> 590<tr> 591<td> 592 <p> 593 <a class="link" href="../basic_socket/open.html" title="basic_socket::open"><span class="bold"><strong>open</strong></span></a> 594 </p> 595 </td> 596<td> 597 <p> 598 Open the socket using the specified protocol. 599 </p> 600 </td> 601</tr> 602<tr> 603<td> 604 <p> 605 <a class="link" href="../basic_socket/operator_eq_.html" title="basic_socket::operator="><span class="bold"><strong>operator=</strong></span></a> 606 </p> 607 </td> 608<td> 609 <p> 610 Move-assign a basic_socket from another. <br> <span class="silver"> —</span><br> Move-assign 611 a basic_socket from a socket of another protocol type. 612 </p> 613 </td> 614</tr> 615<tr> 616<td> 617 <p> 618 <a class="link" href="../basic_socket/release.html" title="basic_socket::release"><span class="bold"><strong>release</strong></span></a> 619 </p> 620 </td> 621<td> 622 <p> 623 Release ownership of the underlying native socket. 624 </p> 625 </td> 626</tr> 627<tr> 628<td> 629 <p> 630 <a class="link" href="../basic_socket/remote_endpoint.html" title="basic_socket::remote_endpoint"><span class="bold"><strong>remote_endpoint</strong></span></a> 631 </p> 632 </td> 633<td> 634 <p> 635 Get the remote endpoint of the socket. 636 </p> 637 </td> 638</tr> 639<tr> 640<td> 641 <p> 642 <a class="link" href="../basic_socket/set_option.html" title="basic_socket::set_option"><span class="bold"><strong>set_option</strong></span></a> 643 </p> 644 </td> 645<td> 646 <p> 647 Set an option on the socket. 648 </p> 649 </td> 650</tr> 651<tr> 652<td> 653 <p> 654 <a class="link" href="../basic_socket/shutdown.html" title="basic_socket::shutdown"><span class="bold"><strong>shutdown</strong></span></a> 655 </p> 656 </td> 657<td> 658 <p> 659 Disable sends or receives on the socket. 660 </p> 661 </td> 662</tr> 663<tr> 664<td> 665 <p> 666 <a class="link" href="../basic_socket/wait.html" title="basic_socket::wait"><span class="bold"><strong>wait</strong></span></a> 667 </p> 668 </td> 669<td> 670 <p> 671 Wait for the socket to become ready to read, ready to write, 672 or to have pending error conditions. 673 </p> 674 </td> 675</tr> 676</tbody> 677</table></div> 678<h6> 679<a name="boost_asio.reference.basic_socket__rebind_executor.other.h2"></a> 680 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.protected_member_functions"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__rebind_executor.other.protected_member_functions">Protected 681 Member Functions</a> 682 </h6> 683<div class="informaltable"><table class="table"> 684<colgroup> 685<col> 686<col> 687</colgroup> 688<thead><tr> 689<th> 690 <p> 691 Name 692 </p> 693 </th> 694<th> 695 <p> 696 Description 697 </p> 698 </th> 699</tr></thead> 700<tbody><tr> 701<td> 702 <p> 703 <a class="link" href="../basic_socket/_basic_socket.html" title="basic_socket::~basic_socket"><span class="bold"><strong>~basic_socket</strong></span></a> <span class="silver">[destructor]</span> 704 </p> 705 </td> 706<td> 707 <p> 708 Protected destructor to prevent deletion through this type. 709 </p> 710 </td> 711</tr></tbody> 712</table></div> 713<h6> 714<a name="boost_asio.reference.basic_socket__rebind_executor.other.h3"></a> 715 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.data_members"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__rebind_executor.other.data_members">Data 716 Members</a> 717 </h6> 718<div class="informaltable"><table class="table"> 719<colgroup> 720<col> 721<col> 722</colgroup> 723<thead><tr> 724<th> 725 <p> 726 Name 727 </p> 728 </th> 729<th> 730 <p> 731 Description 732 </p> 733 </th> 734</tr></thead> 735<tbody> 736<tr> 737<td> 738 <p> 739 <a class="link" href="../basic_socket/max_connections.html" title="basic_socket::max_connections"><span class="bold"><strong>max_connections</strong></span></a> <span class="silver">[static]</span> 740 </p> 741 </td> 742<td> 743 <p> 744 (Deprecated: Use max_listen_connections.) The maximum length 745 of the queue of pending incoming connections. 746 </p> 747 </td> 748</tr> 749<tr> 750<td> 751 <p> 752 <a class="link" href="../basic_socket/max_listen_connections.html" title="basic_socket::max_listen_connections"><span class="bold"><strong>max_listen_connections</strong></span></a> <span class="silver">[static]</span> 753 </p> 754 </td> 755<td> 756 <p> 757 The maximum length of the queue of pending incoming connections. 758 </p> 759 </td> 760</tr> 761<tr> 762<td> 763 <p> 764 <a class="link" href="../basic_socket/message_do_not_route.html" title="basic_socket::message_do_not_route"><span class="bold"><strong>message_do_not_route</strong></span></a> <span class="silver">[static]</span> 765 </p> 766 </td> 767<td> 768 <p> 769 Specify that the data should not be subject to routing. 770 </p> 771 </td> 772</tr> 773<tr> 774<td> 775 <p> 776 <a class="link" href="../basic_socket/message_end_of_record.html" title="basic_socket::message_end_of_record"><span class="bold"><strong>message_end_of_record</strong></span></a> <span class="silver">[static]</span> 777 </p> 778 </td> 779<td> 780 <p> 781 Specifies that the data marks the end of a record. 782 </p> 783 </td> 784</tr> 785<tr> 786<td> 787 <p> 788 <a class="link" href="../basic_socket/message_out_of_band.html" title="basic_socket::message_out_of_band"><span class="bold"><strong>message_out_of_band</strong></span></a> <span class="silver">[static]</span> 789 </p> 790 </td> 791<td> 792 <p> 793 Process out-of-band data. 794 </p> 795 </td> 796</tr> 797<tr> 798<td> 799 <p> 800 <a class="link" href="../basic_socket/message_peek.html" title="basic_socket::message_peek"><span class="bold"><strong>message_peek</strong></span></a> <span class="silver">[static]</span> 801 </p> 802 </td> 803<td> 804 <p> 805 Peek at incoming data without removing it from the input queue. 806 </p> 807 </td> 808</tr> 809</tbody> 810</table></div> 811<p> 812 The <a class="link" href="../basic_socket.html" title="basic_socket"><code class="computeroutput">basic_socket</code></a> 813 class template provides functionality that is common to both stream-oriented 814 and datagram-oriented sockets. 815 </p> 816<h6> 817<a name="boost_asio.reference.basic_socket__rebind_executor.other.h4"></a> 818 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.thread_safety"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__rebind_executor.other.thread_safety">Thread 819 Safety</a> 820 </h6> 821<p> 822 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe. 823 </p> 824<p> 825 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe. 826 </p> 827<h6> 828<a name="boost_asio.reference.basic_socket__rebind_executor.other.h5"></a> 829 <span class="phrase"><a name="boost_asio.reference.basic_socket__rebind_executor.other.requirements"></a></span><a class="link" href="other.html#boost_asio.reference.basic_socket__rebind_executor.other.requirements">Requirements</a> 830 </h6> 831<p> 832 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/basic_socket.hpp</code> 833 </p> 834<p> 835 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 836 </p> 837</div> 838<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 839<td align="left"></td> 840<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 841 Kohlhoff<p> 842 Distributed under the Boost Software License, Version 1.0. (See accompanying 843 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>) 844 </p> 845</div></td> 846</tr></table> 847<hr> 848<div class="spirit-nav"> 849<a accesskey="p" href="../basic_socket__rebind_executor.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket__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_acceptor.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 850</div> 851</body> 852</html> 853