Re: [Libevent-users] sockets descriptor access

2008-03-12 Thread Dave Gotwisner
Ycrux wrote: Hi Niels, I guess I do not quite understand what you are trying to accomplish. In most cases, you will get a different fd for each connection. Perhaps, you could explain the reason for hashing on something? Why don't you hash on the remote IP? We can have the case that

Re: [Libevent-users] [Patch] Install autoconf header file as evconfig.h

2007-02-16 Thread Dave Gotwisner
William Ahern wrote: On Fri, Feb 16, 2007 at 06:24:34PM -0500, Nick Mathewson wrote: Hi, all! Now that Libevent 1.3 is out, it's time for Patches Less Obvious. One longstanding problems has been that it's not possible to include event.h unless you first define u_int8_t, u_int32_t, struct

Re: [Libevent-users] [Patch] Install autoconf header file as evconfig.h

2007-02-16 Thread Dave Gotwisner
Steven Grimm wrote: Dave Gotwisner wrote: I personally hate the proliferation of typedefs. I have seen u8, U8, u_int8, uint8, and many others that all express the same thing. (similarly for 16, 32, and 64 bit sizes). The lack of a common standard is the problem, IMO, not the existence

Re: [Libevent-users] [Patch] Install autoconf header file as evconfig.h

2007-02-16 Thread Dave Gotwisner
William Ahern wrote: On Fri, Feb 16, 2007 at 04:58:53PM -0800, Dave Gotwisner wrote: Yes, C doesn't define it (ANSI should have at the char/short/long/long long level). Even though there is nothing requiring that short is 16 and long is 32, the fact that the type.h files I mentioned in my