All CZMQ tests run clean on Linux. On Mon, Aug 31, 2015 at 4:06 PM, Brian T. Carcich <[email protected]> wrote:
> Windows 7 Pro SP1 > x64 > MS VS Community 2015 > 0mq 4.1.3 > czmq 3.0.2 > libsodium (current from github as of about two weeks ago) > > I am having a little trouble with the czmq self-test under Windows 7 x64. > > The first problem was the 10s = 10,000ms sleep test that occasionally > sometimes takes as little as 9926ms. Meh. > > The second is a problem with zsock_unbind in zsock.c under czmq. > > At this point I don't need a solution, rather I'd like to know if this is > a known issue and/or is there a workaround. > > I made some brief google searches for this problem but have not yet found > anything. > > See one of the following URLs: > > https://drive.google.com/open?id=0B-W08w76n9kkR3dLYmZUMGJqVVk > > > https://docs.google.com/drawings/d/1IAiCv9Apx5Ue7z2alDhfxV9wzw0pqhcJ_PYhpSK61dQ > > It looks like zsock_unbind() does not release the port (errno is > EADDRINUSE), which is what the 100ms sleep was supposed to help with. When > I stop the debugger the port no longer shows up in the netstat -an output. > > I have not yet looked to see whether this is a problem with czmq or 0mq. > > In the example above I increased the sleep after the zsock_unbind call to > 30s and printf'ed the return code, errno string and ZMQ_VERSION, and the > socket is still not unbound. > > I'm going to go try this on a Linux box. > > Best regards, > > Brian Carcich > > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
