[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

HTTP Library for Visual C++

I would like to retrieve some documents from web. But I'm not familiar with HTTP programming. Is there any HTTP library for Visual C++? If yes, where can I obtain it?
0
tan
Asked:
tan
1 Solution
 
fasterCommented:
There are activex controls around that you can use.  But actually HTTP is a very simple protocol.  If you know how to program winsock, you really don't need anything else.  For example, if you want to get the page at http://www.microsoft.com/path/1.html, you simply need to connect to www.microsoft.com at port 80 at send this string: "GET /path/1.html HTTP/1.0\r\n\r\n", then you only need to wait for the response.  With simple error checking that is only 20-30 lines of code.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now