开发者

Are there any complete examples of using winhttp in C on windows?

I can find tons of examples in C++, but nothing that's written in just C. I am trying to connect to an http server, download the returned data, and then save it to a file. Is there a better way to do it on Windows? Should I not be using WinHttp 开发者_如何学运维or WinInet? Windows documentation for C seems to be extremely lacking on the internet. Thank you for your help.


http://www.codeguru.com/cpp/i-n/internet/http/article.php/c6237
also this looks good and in C
http://msdn.microsoft.com/en-us/library/aa384270(v=VS.85).aspx#Downloading_resource
This question has also been asked and answered here
How to download a file with WinHTTP in C/C++?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜