views:

363

answers:

3

Dear All,

I wanted to develop one HTTP example on win32 platform, which is asynchronous.

I am new to win32 programming, can i know what are the api and library win32 platform

provides for HTTP send and receive request.

I am using windows xp with VS 2005.

If any example is available directly on net please provide me link to it,

with regards Vinayaka karjigi

+5  A: 

Window HTTP Services "provides developers with an HTTP client application programming interface (API) to send requests through the HTTP protocol to other HTTP servers."

HTTP Server API "enables applications to communicate over HTTP without using Microsoft Internet Information Server (IIS)"

Brandon E Taylor
thanks for the link and information, it wil be of more use to me i guess
Vinayaka Karjigi
+2  A: 

You can use WinHTTP library. Here is an sample on Asynchronous completion.

Canopus
thanks for the link, it wil be of more use to me i guess
Vinayaka Karjigi
+2  A: 

Boost Asio is a nice synchronous/asynchronous library which has everything you need for HTTP servers/clients. It has some extensive examples on HTTP servers, and the relevant clients. Now if you are new to C++ in general this library may be a little cryptic. You could always go have a look at MSDN if you want a more from scratch approach.

DeusAduro
boost.asio provides a mechanism for you to formulate your own http requests by hand; the windows http services encapsulate the protocol for you.
Dustin Getz