AW: [Libevent-users] win32 iocp patch for libevent main trunk
Richter, Jörg
Joerg.Richter at pdv-FS.de
Sun Jun 15 13:12:05 EDT 2008
Hi Stephen Liu,
> The changes are:
> 2.Add EV_ACCEPT flag for accept event ( in include\event.h )
> #define EV_ACCEPT 0x40
I like your work that you have put into this. Keep on the good work!
But what I don't like is the new EV_ACCEPT flag.
Have you thought about detecting somehow if a socket is a listen socket? I just browsed msdn to find a way. Looks like getsockopt(SO_ACCEPTCONN) can be used for this task. Sorry, but can't test it right now.
If your are able to use iocp without a change in the interface everyone will benefit without changing their code. This would be a huge win.
Jörg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20080615/63b3bf9d/attachment.htm
More information about the Libevent-users
mailing list