[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
Hi all.
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():
Console.WriteLine("setting ctx");
ZMQ.Context ctx = new ZMQ.Context();
Console.WriteLine("ctx set");
This eventually resolves into following error, no matter what number of
threads is passed to Context():
src/signaler.cpp: 219
#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.
SOCKET listener;
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
debugger.
Win7, VC++/C# 2010 express installs, build configuration is x86-32, debug,
.NET Framework 4, application is started as user.
--
cheers,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111003/b8648772/attachment.htm>
More information about the zeromq-dev
mailing list