Welcome! Log In Create A New Profile

Advanced

Re: How to use C as a scripting language?

James Fidell
December 03, 2011 08:14AM
On 03/12/11 12:44, etrader wrote:
> Thanks James!
> The idea of building a mini-webserver for C programming is brilliant. I
> searched a lot to find a guidance for building very basic web server in
> C (obviously I prefer to write the web server in C with native API for C
> files); but I was unable to find. All web servers in C are advanced
> applications such as nginx. Could you please give me a hint how to start
> to write a mini web server in C.

Start here:

http://libevent.org/

libevent has all of the hard stuff done for you. You basically just
need to use it's API to get hold of all the HTTP request information
and to let it handle the response to the user.

James

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to use C as a scripting language?

etrader December 03, 2011 02:38AM

Re: How to use C as a scripting language?

António P. P. Almeida December 03, 2011 03:52AM

Re: How to use C as a scripting language?

James Fidell December 03, 2011 05:32AM

Re: How to use C as a scripting language?

etrader December 03, 2011 07:44AM

Re: How to use C as a scripting language?

James Fidell December 03, 2011 08:14AM

Re: How to use C as a scripting language?

Oleksandr V. Typlyns'kyi December 03, 2011 08:32AM

Re: How to use C as a scripting language?

Valentin V. Bartenev December 03, 2011 08:34AM

Re: How to use C as a scripting language?

roberto December 03, 2011 09:14AM

Re: How to use C as a scripting language?

Brian Akins December 03, 2011 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready