11 #ifndef ASIO_CONNECT_HPP 12 #define ASIO_CONNECT_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 63 template <
typename Protocol,
typename SocketService,
typename Iterator>
64 Iterator
connect(basic_socket<Protocol, SocketService>&
s, Iterator
begin);
100 template <
typename Protocol,
typename SocketService,
typename Iterator>
101 Iterator
connect(basic_socket<Protocol, SocketService>&
s,
132 template <
typename Protocol,
typename SocketService,
typename Iterator>
133 Iterator
connect(basic_socket<Protocol, SocketService>&
s,
169 template <
typename Protocol,
typename SocketService,
typename Iterator>
170 Iterator
connect(basic_socket<Protocol, SocketService>&
s,
232 template <
typename Protocol,
typename SocketService,
233 typename Iterator,
typename ConnectCondition>
234 Iterator
connect(basic_socket<Protocol, SocketService>&
s,
304 template <
typename Protocol,
typename SocketService,
305 typename Iterator,
typename ConnectCondition>
306 Iterator
connect(basic_socket<Protocol, SocketService>&
s, Iterator
begin,
366 template <
typename Protocol,
typename SocketService,
367 typename Iterator,
typename ConnectCondition>
368 Iterator
connect(basic_socket<Protocol, SocketService>&
s, Iterator
begin,
436 template <
typename Protocol,
typename SocketService,
437 typename Iterator,
typename ConnectCondition>
438 Iterator
connect(basic_socket<Protocol, SocketService>&
s,
517 template <
typename Protocol,
typename SocketService,
518 typename Iterator,
typename ComposedConnectHandler>
588 template <typename Protocol, typename SocketService,
589 typename Iterator, typename ComposedConnectHandler>
593 Iterator begin, Iterator
end,
698 template <typename Protocol, typename SocketService, typename Iterator,
699 typename ConnectCondition, typename ComposedConnectHandler>
701 void (
asio::error_code, Iterator))
702 async_connect(
basic_socket<Protocol, SocketService>& s, Iterator begin,
807 template <typename Protocol, typename SocketService, typename Iterator,
808 typename ConnectCondition, typename ComposedConnectHandler>
810 void (
asio::error_code, Iterator))
812 Iterator begin, Iterator end, ConnectCondition connect_condition,
819 #include "asio/detail/pop_options.hpp"
SocketService Iterator begin
Iterator connect(basic_socket< Protocol, SocketService > &s, Iterator begin)
Establishes a socket connection by trying each endpoint in a sequence.
ASIO_INITFN_RESULT_TYPE(ComposedConnectHandler, void(asio::error_code, Iterator)) async_connect(basic_socket< Protocol
SocketService Iterator ConnectCondition connect_condition
asio::basic_streambuf< Allocator > CompletionCondition ASIO_MOVE_ARG(ReadHandler) handler)
Class to represent an error code value.
Provides socket functionality.
SocketService Iterator Iterator end