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

Method send

include/boost/asio/basic_stream_socket.hpp:370–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 */
369 template <typename ConstBufferSequence>
370 std::size_t send(const ConstBufferSequence& buffers)
371 {
372 boost::system::error_code ec;
373 std::size_t s = this->impl_.get_service().send(
374 this->impl_.get_implementation(), buffers, 0, ec);
375 boost::asio::detail::throw_error(ec, "send");
376 return s;
377 }
378
379 /// Send some data on the socket.
380 /**

Callers 1

write_someMethod · 0.45

Calls 1

throw_errorFunction · 0.85

Tested by

no test coverage detected