开发者

C++ reading an remote fie using boost.?

开发者 https://www.devze.com 2023-01-14 17:11 出处:网络
I need to read an remote file using c++,i am tryin开发者_StackOverflowg to read an remote robots.txt file with an example ...

I need to read an remote file using c++,i am tryin开发者_StackOverflowg to read an remote robots.txt file with an example ...

eg

www.google.co.in/robots.txt


This should do it. http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/example/http/client/sync_client.cpp


Take a look at Urdl: http://think-async.com/Urdl/doc/html/index.html Not in boost (at least yet), but written by the author of Boost.Asio Christopher Kohlhoff. So expect the same quality. I have used it, and it did the job easily and very well.

0

精彩评论

暂无评论...
验证码 换一张
取 消