FAQ: Can I write a server with libcurl?

This commit is contained in:
Daniel Stenberg 2013-01-03 10:15:02 +01:00
parent 5b6e7927c6
commit dbf93a8973
1 changed files with 10 additions and 0 deletions

View File

@ -97,6 +97,7 @@ FAQ
5.14 Using C++ non-static functions for callbacks? 5.14 Using C++ non-static functions for callbacks?
5.15 How do I get an FTP directory listing? 5.15 How do I get an FTP directory listing?
5.16 I want a different time-out! 5.16 I want a different time-out!
5.17 Can I write a server with libcurl?
6. License Issues 6. License Issues
6.1 I have a GPL program, can I use the libcurl library? 6.1 I have a GPL program, can I use the libcurl library?
@ -1311,6 +1312,15 @@ FAQ
use that to figure out exactly when the right condition is met when the use that to figure out exactly when the right condition is met when the
transfer should get stopped. transfer should get stopped.
5.17 Can I write a server with libcurl?
No. libcurl offers no functions or building blocks to build any kind of
internet protocol server. libcurl is only a client-side library. For server
libraries, you need to continue your search elsewhere but there exist many
good open source ones out there for most protocols you could possibly want a
server for. And there are really good stand-alone ones that have been tested
and proven for many years. There's no need for you to reinvent them!
6. License Issues 6. License Issues