Lines Matching refs:tcp_socket
178 static void event_cb(GlobalInfo *g, boost::asio::ip::tcp::socket *tcp_socket, in event_cb() argument
184 rc = curl_multi_socket_action(g->multi, tcp_socket->native_handle(), action, in event_cb()
236 boost::asio::ip::tcp::socket * tcp_socket = it->second; in setsock() local
244 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
245 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
251 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
252 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
258 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
259 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
261 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
262 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
355 boost::asio::ip::tcp::socket *tcp_socket = new boost::asio::ip::tcp::socket(io_service); in opensocket() local
359 tcp_socket->open(boost::asio::ip::tcp::v4(), ec); in opensocket()
369 sockfd = tcp_socket->native_handle(); in opensocket()
373 … socket_map.insert(std::pair<curl_socket_t, boost::asio::ip::tcp::socket *>(sockfd, tcp_socket)); in opensocket()