On 2013-10-04 14:30:39 +0000, Adam D. Ruppe said: > You can call the functions with extern(C). > > There's also bindings to libraries that handle both, but I've never used them: > http://code.dlang.org/packages/libev +1 on this. Use libev, or libevent2. There are bindings around for them. (I know vibe-d is using them)