Hi,
Can you please tell me if there is any library which format HTTP response? And I can use that with a raw socket?
Thank you.
Hi,
Can you please tell me if there is any library which format HTTP response? And I can use that with a raw socket?
Thank you.
CURL/LIBCURL is a very good and widely used C/C++ library to handle HTTP. Don't know if you can use it with a raw socket though. Probably, yes.
You can write you client part of HTTP client with respect of WinINet API. Look at the list of function which you has: http://msdn.microsoft.com/en-us/library/aa385473%28VS.85%29.aspx or read more in http://msdn.microsoft.com/en-us/library/aa383630%28v=VS.85%29.aspx. The WinINet interface is old, but it has most things which one needs in different situations.