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

Method receive

include/boost/asio/basic_stream_socket.hpp:609–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607 */
608 template <typename MutableBufferSequence>
609 std::size_t receive(const MutableBufferSequence& buffers)
610 {
611 boost::system::error_code ec;
612 std::size_t s = this->impl_.get_service().receive(
613 this->impl_.get_implementation(), buffers, 0, ec);
614 boost::asio::detail::throw_error(ec, "receive");
615 return s;
616 }
617
618 /// Receive some data on the socket.
619 /**

Callers 1

read_someMethod · 0.45

Calls 1

throw_errorFunction · 0.85

Tested by

no test coverage detected