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

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, 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 b

Re: [Libevent-users] Building with Visual Studio

2009-05-18 Thread Dan Kegel
On Sun, May 17, 2009 at 10:37 PM, James Mansion wrote: >> Seems to work well for our needs across win/mac/linux. > > How odd that it creates a scons file on Linux.  scons is supposed to solve > cross-platform building on its own. We tried scons on all three platforms, but it just wasn't a good fi