[Ilugc] Need Linux Equavalent to windows winHttp
- From: rajanvn@xxxxxxxxx (Natarajan V)
- Date: Wed Mar 26 03:23:30 2008
On Tue, Mar 25, 2008 at 8:06 AM, Anumolu Sudheer
<urwithsudheer@xxxxxxxxx> wrote:
As someone said curl can do this.
> > I hope Apache is a web server application and not suitable for my
requirement.
Well, I had mentioned about Apache, but read carefully - Its Apache -
HTTPClient for Java. Its the WinHTTP for the Java World. Apache has a
whole bunch of software available under its umbrella and it is not
restricted to Apache webserver, which is the main product of the
group.
The WinHTTP APIs in windows are given below.
WinHttpOpen
WinHttpOpen
WinHttpConnect
WinHttpOpenRequest
WinHttpSendRequest
http://msdn2.microsoft.com/en-us/library/aa384257(VS.85).aspx
I need corresponding APIs in Linux to develop my application.
Coming back to UNIX world, the equivalent that *I think* you might be
interested is (and has been echoed by a few others) LIB-CURL.
http://curl.haxx.se/libcurl/c/
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
Simplest Sample Code:
http://curl.haxx.se/lxr/source/docs/examples/simple.c
HTH.
Regards,
Natarajan.
Other related posts: