MCPcopy Create free account
hub / github.com/boostorg/asio / async_send

Method async_send

include/boost/asio/basic_raw_socket.hpp:475–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
474 std::size_t)) WriteToken = default_completion_token_t<executor_type>>
475 auto async_send(const ConstBufferSequence& buffers,
476 WriteToken&& token = default_completion_token_t<executor_type>())
477 -> decltype(
478 async_initiate<WriteToken,
479 void (boost::system::error_code, std::size_t)>(
480 declval<initiate_async_send>(), token,
481 buffers, socket_base::message_flags(0)))
482 {
483 return async_initiate<WriteToken,
484 void (boost::system::error_code, std::size_t)>(
485 initiate_async_send(this), token,
486 buffers, socket_base::message_flags(0));
487 }
488
489 /// Start an asynchronous send on a connected socket.
490 /**

Callers 15

handle_messagesMethod · 0.45
send_heartbeatsMethod · 0.45
produce_tokensFunction · 0.45
handle_messagesMethod · 0.45
send_heartbeatsMethod · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45

Calls 1

initiate_async_sendClass · 0.70

Tested by

no test coverage detected