Am 31.10.2012 12:27, schrieb Yehezkel Horowitz:
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).
exactly - and for a start take a look at APR which is the underlaying lib Apache httpd depends on:
http://apr.apache.org/
that should give you the APIs you need ...

Gün.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to