On 13/09/13 13:49, Paul Colomiets wrote:
On Fri, Sep 13, 2013 at 2:10 PM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:That would make nanomsg API platform-dependent. I.e. application written on top of nanomsg under Linux won't work on Windows and vice versa :(Just a raw thought: nanomsg can provide a nn_platform_loop, and callback-based API, on every platform. That may be sufficent for tiny nanomsg-only apps. And if you want to integrate BSD sockets, you need to work out platform differences anyway.
Completion-based APIs are terrible to use. I definitely don't want to go that way.
Actually, I believe providing a clean BSD-like API on Windows is one of nanomsg's attractions on the platform.
Martin