Returns true if the third party library wants to be notified when the socket is ready for writing.
| 49 | // Returns true if the third party library wants to be notified when the |
| 50 | // socket is ready for writing. |
| 51 | bool want_write() const |
| 52 | { |
| 53 | return state_ == writing; |
| 54 | } |
| 55 | |
| 56 | // Notify that third party library that it should perform its write operation. |
| 57 | void do_write(boost::system::error_code& ec) |