curl-library
RE: HTTP/1.1 response using libcurl handle
Date: Wed, 31 Oct 2012 13:27:09 +0200
>my intention is to respond to the connection request from server....for that i need to send HTTP1.1 200 OK empty packet to server.
quoting libcurl's home page (at http://curl.haxx.se/libcurl/):
"libcurl is a free and easy-to-use ***client-side*** URL transfer library."
You can't use it for the ***server-side*** of the transfer.
You have lots of other projects to use for the ***server-side*** (listen to sockets and answer requests).
The most famous is Apache's httpd project (but there are many other projects, and you should pick the one that will best answer your requirements).
Yehezkel Horowitz
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-31