Re: [Libevent-users] Visual C++ Projects

2011-07-01 Thread JiangHao
it's easy to build libevent2 in windows open vs2008/vs2010 -> tools -> "Visual Studio Command Prompt" cd libevent2's directory run "nmake /F Makefile.nmake static_libs" Regards, 2011/7/1, Ed Day : > Attached are some VS2008 project files that I use which are by no > means complete. It's not

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Mark Ellzey
On Fri, Jul 01, 2011 at 11:51:28AM -0400, Ed Day wrote: > By "fell out the bottom" I mean returned immediately. > > Ed > > Correct, if there are no events in a base, the loop terminates. Normally you use them in situations where you have other things going on. I am assuming this is derived via

Re: [Libevent-users] Visual C++ Projects

2011-07-01 Thread Ed Day
Attached are some VS2008 project files that I use which are by no means complete. It's not hard to create them though, just add the source files you need and set the properties. Regards, Ed Day On Fri, Jul 1, 2011 at 10:32 AM, Mark Ellzey wrote: > On Thu, Jun 30, 2011 at 05:13:05PM -0700, Ku

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Ed Day
By "fell out the bottom" I mean returned immediately. Ed On Fri, Jul 1, 2011 at 10:35 AM, Mark Ellzey wrote: > On Thu, Jun 30, 2011 at 01:53:12PM -0400, Ed Day wrote: >> I then went into the event dispatch loop and immediately fell out the bottom. >> Is this not the correct way to use these eve

[Libevent-users] libevent + bufferevent + IOCP = confused

2011-07-01 Thread Juan Pablo Fernandez
Hi, I've been experimenting with libevent on windows. I want to use IOCP, worker threads filling a queue layer in a server application. Bufferevents is a nice fit! And I've written a small server using bufferevents. However, I'm confused reading the documentation, saying: 1, It's experimental (o

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Mark Ellzey
On Thu, Jun 30, 2011 at 01:53:12PM -0400, Ed Day wrote: > I then went into the event dispatch loop and immediately fell out the bottom. > > Is this not the correct way to use these events? > What does "fell out the bottom" mean? *

Re: [Libevent-users] Visual C++ Projects

2011-07-01 Thread Mark Ellzey
On Thu, Jun 30, 2011 at 05:13:05PM -0700, Kun Xi wrote: > I once played with libevent using cmake and msys. It is really fun: > - free and familiar toolchain: gcc, gdb > - portability > - cross-compiling from linux host > > cmake can generate NMAKE makefile. I have never tried to use Visual > C

[Libevent-users] Re: [Libevent-users] Re: [Libevent-users] httpserver.cpp:190: error: invalid application of ‘sizeof’ to incomplete type ‘evkeyvalq’

2011-07-01 Thread 李白|字一日
thanks, i am using libevent 1.4.x, seems not having this header file. 2011/6/30 Nir Soffer : > > On Thu, Jun 30, 2011 at 11:36 AM, 李白|字一日 wrote: >> >> hi, all >> i am trying to extract the query information from uri, >> and i found the evkeyvalq is used in input_headers. >> >> so i copied the