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

Method write_some

include/boost/asio/basic_stream_socket.hpp:854–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852 */
853 template <typename ConstBufferSequence>
854 std::size_t write_some(const ConstBufferSequence& buffers)
855 {
856 boost::system::error_code ec;
857 std::size_t s = this->impl_.get_service().send(
858 this->impl_.get_implementation(), buffers, 0, ec);
859 boost::asio::detail::throw_error(ec, "write_some");
860 return s;
861 }
862
863 /// Write some data to the socket.
864 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected