?
Solved

HTTP Library for Visual C++

Posted on 1997-10-22
1
Medium Priority
?
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 150 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 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