MonaSolutions/MonaServer — pull request #6 by qqshfox (2014-11-27 03:55:52+00:00)
Title: Kqueue

I'm Byrne's colleague. We are experimenting with MonaServer.

This is a ugly, but working hack to build MonaServer on OS X using kqueue. One of the `SocketTest` was hanging on forever :( Sorry for the poor codes, first time to play with kqueue. And those codes are written in only 1 hour yesterday. Review wanted! :)

Meanwhile, I'm trying to make MonaServer compilable with Clang. I got a `variadic template` problem with Clang but not with GCC 4.8. Can you guys help me with that?

```
In file included from ./include/Mona/Parameters.h:24:
./include/Mona/Event.h:149:75: error: expected ')'
return Event::_pRelayer->raise(args...);
^
./include/Mona/Event.h:149:70: note: to match this '('
return Event::_pRelayer->raise(args...);
^
./include/Mona/Event.h:149:11: error: expression contains unexpanded parameter pack 'args'
return Event::_pRelayer->raise(args...);
^ ~~~~
```

Thanks,
Hanfei