Solved

HTTP Library for Visual C++

Posted on 1997-10-22
1
243 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

860 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