basic_socket::available

| Home | Libraries | People | FAQ | More

#### basic_socket::available

Determine the number of bytes available for reading.

    std::size_t available() const;

    std::size_t available(
        boost::system::error_code & ec) const;

| Copyright © 2003 - 2008 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)