[zeromq-dev] ZeroMQ on Windows Mobile

Martin Sustrik sustrik at 250bpm.com
Wed Jan 25 23:14:21 CET 2012

Hi Boris,

> PS: On bind it fails because of the following line (tcp_listener.cpp:70):
>      rc = setsockopt (s, SOL_SOCKET, SO_EXCLUSIVEADDRUSE,
>          (const char*)&flag, sizeof (int));
> It seems to me that sockets on WM does not support this option.

You may try SO_REUSEADDR instad. It's #ifdef'd in tcp_listener.cpp 
already so it's easy to test.

If none of the two work, you can disable setting this option on WM.


More information about the zeromq-dev mailing list