Re: [Libevent-users] Simple Echo server with libevent 2.0

2009-05-20 Thread arthur
On Mon, 2009-05-18 at 12:37 -0400, Nick Mathewson wrote: On Mon, May 18, 2009 at 05:26:04PM +0200, q6Yr7e0o nIJDVMjC wrote: Hi, can somebody guide me how to write a simple echo server using libevent 2.0? I've read into the sources of libevent (especially http.c) because i wanted to

Re: [Libevent-users] Simple Echo server with libevent 2.0

2009-05-19 Thread Nick Mathewson
On Mon, May 18, 2009 at 07:10:47PM +0200, q6Yr7e0o nIJDVMjC wrote: Hi For one example of how to use the 2.0.1-alpha API, you could have a look at chapter 1 of ? ? ?http://www.wangafu.net/~nickm/libevent-book/ . Would it be possible to link that book on

[Libevent-users] Simple Echo server with libevent 2.0

2009-05-18 Thread q6Yr7e0o nIJDVMjC
Hi, can somebody guide me how to write a simple echo server using libevent 2.0? I've read into the sources of libevent (especially http.c) because i wanted to know how to bind to a socket, accept new connections and read/write async to the network. But there are so many interal functions (like

Re: [Libevent-users] Simple Echo server with libevent 2.0

2009-05-18 Thread Nick Mathewson
On Mon, May 18, 2009 at 05:26:04PM +0200, q6Yr7e0o nIJDVMjC wrote: Hi, can somebody guide me how to write a simple echo server using libevent 2.0? I've read into the sources of libevent (especially http.c) because i wanted to know how to bind to a socket, accept new connections and

Re: [Libevent-users] Simple Echo server with libevent 2.0

2009-05-18 Thread q6Yr7e0o nIJDVMjC
Hi For one example of how to use the 2.0.1-alpha API, you could have a look at chapter 1 of      http://www.wangafu.net/~nickm/libevent-book/ . Would it be possible to link that book on http://monkey.org/~provos/libevent/ ? I've long googled for such reference material but didn't find any