Lines Matching refs:tcp_socket
179 static void event_cb(GlobalInfo *g, boost::asio::ip::tcp::socket *tcp_socket, in event_cb() argument
185 rc = curl_multi_socket_action(g->multi, tcp_socket->native_handle(), action, in event_cb()
237 boost::asio::ip::tcp::socket * tcp_socket = it->second; in setsock() local
245 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
246 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
252 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
253 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
259 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
260 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
262 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
263 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
356 boost::asio::ip::tcp::socket *tcp_socket = new boost::asio::ip::tcp::socket(io_service); in opensocket() local
360 tcp_socket->open(boost::asio::ip::tcp::v4(), ec); in opensocket()
370 sockfd = tcp_socket->native_handle(); in opensocket()
374 … socket_map.insert(std::pair<curl_socket_t, boost::asio::ip::tcp::socket *>(sockfd, tcp_socket)); in opensocket()