| 852 | */ |
| 853 | template <typename ConstBufferSequence> |
| 854 | std::size_t write_some(const ConstBufferSequence& buffers) |
| 855 | { |
| 856 | boost::system::error_code ec; |
| 857 | std::size_t s = this->impl_.get_service().send( |
| 858 | this->impl_.get_implementation(), buffers, 0, ec); |
| 859 | boost::asio::detail::throw_error(ec, "write_some"); |
| 860 | return s; |
| 861 | } |
| 862 | |
| 863 | /// Write some data to the socket. |
| 864 | /** |
nothing calls this directly
no test coverage detected