Re: [Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-12 Thread Basile Starynkevitch
On Fri, 12 Nov 2010 09:10:31 +0200 Mihai Draghicioiu wrote: > Just use an event loop and http callbacks in your server code. That's > what the whole point of libevent is, i think. I can show you an > example libevent based http page http://mappinghell.net:2 it > refreshes some data each 2 sec

Re: [Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-11 Thread Mihai Draghicioiu
Just use an event loop and http callbacks in your server code. That's what the whole point of libevent is, i think. I can show you an example libevent based http page http://mappinghell.net:2 it refreshes some data each 2 seconds in the web page using ajax. You'll need to manually set some http

[Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-11 Thread Basile Starynkevitch
Hello (I'm using the usual libevent 1.4 package on Debian/Sid/AMD64, but could compile & use libevent 2.0 if asked) I am developping a multi-threaded application using libevent - currently an experiment [the goal would be to develop a high-level programming language which is wiki-like and used th