Re:Fast portable non-blocking network programming with Libevent
by silentbicycle on Monday January 11, 2010 @10:07AM
(#1045175)
libevent tries to provide a common interface to select, poll, kselect (on BSD), epoll (on Linux), and comparable calls on Windows. It's not a standard part of Unix, of course, but it seems reasonably portable.
[ Parent
| on HN ]
Re:Fast portable non-blocking network programming with Libevent
by houseabsolute on Monday January 11, 2010 @10:18AM
(#1045195)
Sure, but libraries underneath you have to cooperate for you to use it to the fullest potential. That no common means have been invented for that is what I'm sad about.
Re:Fast portable non-blocking network programming with Libevent
by silentbicycle on Monday January 11, 2010 @10:33AM
(#1045225)
Right. Once you set up a non-blocking event loop, it's much simpler when you can go async all the way down.