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

Method want_read

example/cpp11/nonblocking/third_party_lib.cpp:34–37  ·  view source on GitHub ↗

Returns true if the third party library wants to be notified when the socket is ready for reading.

Source from the content-addressed store, hash-verified

32 // Returns true if the third party library wants to be notified when the
33 // socket is ready for reading.
34 bool want_read() const
35 {
36 return state_ == reading;
37 }
38
39 // Notify that third party library that it should perform its read operation.
40 void do_read(boost::system::error_code& ec)

Callers 1

do_operationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected