11 #ifndef ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP 12 #define ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 43 static_cast<reactive_socket_connect_op_base*>(base));
52 template <
typename Handler>
71 (static_cast<reactive_socket_connect_op*>(base));
72 ptr p = { asio::detail::addressof(o->handler_), o, o };
83 handler(o->handler_, o->ec_);
84 p.h = asio::detail::addressof(handler.
handler_);
106 #endif // ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP
#define ASIO_HANDLER_INVOCATION_END
static void do_complete(io_service_impl *owner, operation *base, const asio::error_code &, std::size_t)
reactive_socket_connect_op_base(socket_type socket, func_type complete_func)
socket_type socket(int af, int type, int protocol, asio::error_code &ec)
reactive_socket_connect_op(socket_type socket, Handler &handler)
asio::basic_streambuf< Allocator > & b
class task_io_service io_service_impl
void invoke(Function &function, Context &context)
static bool do_perform(reactor_op *base)
#define ASIO_HANDLER_INVOCATION_BEGIN(args)
Class to represent an error code value.
task_io_service_operation operation
#define ASIO_DEFINE_HANDLER_PTR(op)
#define ASIO_HANDLER_COMPLETION(args)
#define ASIO_MOVE_CAST(type)
bool non_blocking_connect(socket_type s, asio::error_code &ec)