hi, i want to connect to a http server(something like google.com) and get data from it with chuncked property and then merge chuncked data together.
A:
The right answer to "I want to do something with an HTTP server", especially in C/C++, is usually curl/libcurl: http://curl.haxx.se/libcurl/
There's also an actual C++ binding that may be more suitable to your needs, http://curlpp.org/
Nicholas Knight
2010-07-27 16:39:08
Agreed, although I've always found that library a pain to build.
Konrad
2010-07-27 16:53:50
thanx, but i don't want to use any librarybecause i want use my code in both windows and linux platform
Aliasghar Yaghoobzadeh
2010-08-16 15:30:53
@Aliasghar: Huh?! libcurl is fully cross-platform, working fine in Linux, Windows, and a dozen other operating systems. It'll even run on IBM mainframes and little embedded QNX boxes. If you want to write non-trivial applications that work on multiple operating systems, you _have_ to use cross-platform libraries, or you'll make the project an order of magnitude more difficult.
Nicholas Knight
2010-08-16 17:16:41