Lines Matching +full:end +full:- +full:success
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
43 * @returns On success, an iterator denoting the successfully connected
44 * endpoint. Otherwise, the end iterator.
51 * Iterator represents the end of the sequence. This is a valid assumption for
79 * @returns On success, an iterator denoting the successfully connected
80 * endpoint. Otherwise, the end iterator.
83 * Iterator represents the end of the sequence. This is a valid assumption for
113 * @param end An iterator pointing to the end of a sequence of endpoints.
115 * @returns On success, an iterator denoting the successfully connected
116 * endpoint. Otherwise, the end iterator.
125 * tcp::resolver::iterator i = r.resolve(q), end;
127 * asio::connect(s, i, end); @endcode
131 Iterator begin, Iterator end);
145 * @param end An iterator pointing to the end of a sequence of endpoints.
151 * @returns On success, an iterator denoting the successfully connected
152 * endpoint. Otherwise, the end iterator.
157 * tcp::resolver::iterator i = r.resolve(q), end;
160 * asio::connect(s, i, end, ec);
168 Iterator begin, Iterator end, asio::error_code& ec);
189 * indicate success. The @c next parameter is an iterator pointing to the next
193 * be called with the end iterator.
195 * @returns On success, an iterator denoting the successfully connected
196 * endpoint. Otherwise, the end iterator.
203 * Iterator represents the end of the sequence. This is a valid assumption for
217 * std::cout << "Trying: " << next->endpoint() << std::endl;
227 * std::cout << "Connected to: " << i->endpoint() << std::endl; @endcode
253 * indicate success. The @c next parameter is an iterator pointing to the next
257 * be called with the end iterator.
263 * @returns On success, an iterator denoting the successfully connected
264 * endpoint. Otherwise, the end iterator.
267 * Iterator represents the end of the sequence. This is a valid assumption for
281 * std::cout << "Trying: " << next->endpoint() << std::endl;
298 * std::cout << "Connected to: " << i->endpoint() << std::endl;
318 * @param end An iterator pointing to the end of a sequence of endpoints.
327 * indicate success. The @c next parameter is an iterator pointing to the next
331 * be called with the end iterator.
333 * @returns On success, an iterator denoting the successfully connected
334 * endpoint. Otherwise, the end iterator.
351 * std::cout << "Trying: " << next->endpoint() << std::endl;
358 * tcp::resolver::iterator i = r.resolve(q), end;
360 * i = asio::connect(s, i, end, my_connect_condition());
361 * std::cout << "Connected to: " << i->endpoint() << std::endl; @endcode
366 Iterator end, ConnectCondition connect_condition);
380 * @param end An iterator pointing to the end of a sequence of endpoints.
389 * indicate success. The @c next parameter is an iterator pointing to the next
393 * be called with the end iterator.
399 * @returns On success, an iterator denoting the successfully connected
400 * endpoint. Otherwise, the end iterator.
413 * std::cout << "Trying: " << next->endpoint() << std::endl;
420 * tcp::resolver::iterator i = r.resolve(q), end;
423 * i = asio::connect(s, i, end, my_connect_condition(), ec);
430 * std::cout << "Connected to: " << i->endpoint() << std::endl;
436 Iterator begin, Iterator end, ConnectCondition connect_condition,
471 * // On success, an iterator denoting the successfully
472 * // connected endpoint. Otherwise, the end iterator.
481 * Iterator represents the end of the sequence. This is a valid assumption for
534 * @param end An iterator pointing to the end of a sequence of endpoints.
545 * // On success, an iterator denoting the successfully
546 * // connected endpoint. Otherwise, the end iterator.
571 * tcp::resolver::iterator end;
572 * asio::async_connect(s, i, end, connect_handler);
590 Iterator begin, Iterator end,
613 * indicate success. The @c next parameter is an iterator pointing to the next
617 * be called with the end iterator.
628 * // On success, an iterator denoting the successfully
629 * // connected endpoint. Otherwise, the end iterator.
638 * Iterator represents the end of the sequence. This is a valid assumption for
652 * std::cout << "Trying: " << next->endpoint() << std::endl;
691 * std::cout << "Connected to: " << i->endpoint() << std::endl;
716 * @param end An iterator pointing to the end of a sequence of endpoints.
725 * indicate success. The @c next parameter is an iterator pointing to the next
729 * be called with the end iterator.
740 * // On success, an iterator denoting the successfully
741 * // connected endpoint. Otherwise, the end iterator.
760 * std::cout << "Trying: " << next->endpoint() << std::endl;
781 * tcp::resolver::iterator end;
782 * asio::async_connect(s, i, end,
800 * std::cout << "Connected to: " << i->endpoint() << std::endl;
809 Iterator begin, Iterator end, ConnectCondition connect_condition,