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

Function at_mark

include/boost/asio/basic_socket.hpp:715–721  ·  view source on GitHub ↗

Determine whether the socket is at the out-of-band data mark. * This function is used to check whether the socket input is currently * positioned at the out-of-band data mark. * * @return A bool indicating whether the socket is at the out-of-band data * mark. * * @throws boost::system::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

713 * @throws boost::system::system_error Thrown on failure.
714 */
715 bool at_mark() const
716 {
717 boost::system::error_code ec;
718 bool b = impl_.get_service().at_mark(impl_.get_implementation(), ec);
719 boost::asio::detail::throw_error(ec, "at_mark");
720 return b;
721 }
722
723 /// Determine whether the socket is at the out-of-band data mark.
724 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
at_markMethod · 0.45

Tested by

no test coverage detected