Home | History | Annotate | Download | only in asio

Lines Matching defs:send

208   /// Send some data on the socket.
210 * This function is used to send data on the stream socket. The function
220 * @note The send operation may not transmit all of the data to the peer.
225 * To send a single data buffer use the @ref buffer function as follows:
227 * socket.send(asio::buffer(data, size));
234 std::size_t send(const ConstBufferSequence& buffers)
237 std::size_t s = this->get_service().send(
239 asio::detail::throw_error(ec, "send");
243 /// Send some data on the socket.
245 * This function is used to send data on the stream socket. The function
251 * @param flags Flags specifying how the send call is to be made.
257 * @note The send operation may not transmit all of the data to the peer.
262 * To send a single data buffer use the @ref buffer function as follows:
264 * socket.send(asio::buffer(data, size), 0);
271 std::size_t send(const ConstBufferSequence& buffers,
275 std::size_t s = this->get_service().send(
277 asio::detail::throw_error(ec, "send");
281 /// Send some data on the socket.
283 * This function is used to send data on the stream socket. The function
289 * @param flags Flags specifying how the send call is to be made.
295 * @note The send operation may not transmit all of the data to the peer.
300 std::size_t send(const ConstBufferSequence& buffers,
303 return this->get_service().send(
307 /// Start an asynchronous send.
309 * This function is used to asynchronously send data on the stream socket.
317 * @param handler The handler to be called when the send operation completes.
329 * @note The send operation may not transmit all of the data to the peer.
334 * To send a single data buffer use the @ref buffer function as follows:
357 /// Start an asynchronous send.
359 * This function is used to asynchronously send data on the stream socket.
367 * @param flags Flags specifying how the send call is to be made.
369 * @param handler The handler to be called when the send operation completes.
381 * @note The send operation may not transmit all of the data to the peer.
386 * To send a single data buffer use the @ref buffer function as follows:
651 std::size_t s = this->get_service().send(
677 return this->get_service().send(this->get_implementation(), buffers, 0, ec);