Returns true if the third party library wants to be notified when the socket is ready for reading.
| 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) |