[zeromq-dev] CLR bindings error: can't set up a listener
Igor 'Lo' (И.L.)
bombsiteunrested at gmail.com
Mon Oct 3 21:50:10 CEST 2011
I can't get bindings to work in a new clean environment;
Using 4-day-old libzmq from https://github.com/zeromq/zeromq2-1 and CLR from
https://github.com/zeromq/clrzmq2 I get to the following problem:
.. part of Main():
ZMQ.Context ctx = new ZMQ.Context();
This eventually resolves into following error, no matter what number of
threads is passed to Context():
#if defined ZMQ_HAVE_WINDOWS
// Windows has no 'socketpair' function. CreatePipe is no good as pipe
// handles cannot be polled on. Here we create the socketpair by hand.
*w_ = INVALID_SOCKET;
*r_ = INVALID_SOCKET;
// Create listening socket.
listener = open_socket (AF_INET, SOCK_STREAM, 0);
>>> wsa_assert (listener != INVALID_SOCKET);
The assertion is printed to console thus error R6010 (abort) comes from
Win7, VC++/C# 2010 express installs, build configuration is x86-32, debug,
.NET Framework 4, application is started as user.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev