Solved

HTTP Library for Visual C++

Posted on 1997-10-22
1
242 Views
Last Modified: 2013-12-03
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
Comment
Question by:tan
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
ID: 1407787
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question