Hi Liusifan, thank you very much for the patch. Not requiring EV_ACCEPT is a great change. I will try to look at this as soon as time permits.
Niels. On Fri, Jul 11, 2008 at 8:29 AM, liusifan <[EMAIL PROTECTED]> wrote: > Hi, > > http://spserver.googlecode.com/files/libevent-1.4.5-stable-iocp-1.zip > > Integrate iocp backend with libevent-1.4.5-stable. > The win32iocp source code is the same as libevent-main-iocp-1.zip > > Changes since libevent-1.4.4-iocp-3.zip: > > 1.Remove EV_ACCEPT flag, use getsockopt(SO_ACCEPTCONN) to distinguish > accept/read, > so it's compatible with the old code now. > 2.Using red-black tree to map sockets to events, it use a array previously. > 3.Replace WSARecv and WSASend by ReadFile and WriteFile, so it can process > FileHandle. > The event_test.c is working now ( but need some changes ). > 4.Support nonpersist accept event, it always treat accept event is persist > previously. > > Any and all comments are appreciated. > > Best regards, > > Stephen Liu > 2008-07-11 > _______________________________________________ > Libevent-users mailing list > Libevent-users@monkey.org > http://monkeymail.org/mailman/listinfo/libevent-users > > _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users