#### basic_socket::available

Determine the number of bytes available for reading.

    std::size_t available() const;
      » more...

    std::size_t available(
        asio::error_code & ec) const;
      » more...

Copyright © 2003-2025 Christopher M. Kohlhoff

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)