[zeromq-dev] Can I make sure that contexts are freed and handles released in a fast loop?

Kuba kubaraczkowski at gmail.com
Fri Feb 24 12:00:36 CET 2012

Dear Ian,

Indeed, adding a pause of ~350ms after the context termination makes the
loop stable, however, it is too long to call it "low latency" :)

Is there any way to fix it without the delay? Or perhaps for my simple
scheme of communication I should consider using windows named pipes?


On Fri, Feb 24, 2012 at 10:30 AM, Ian Barber <ian.barber at gmail.com> wrote:

> On Fri, Feb 24, 2012 at 8:37 AM, Kuba <kubaraczkowski at gmail.com> wrote:
>> Did anybody manage to solve the issue of windows running out of "socket
>> space" that results in the mentioned assertion ?
> Do your actually have those sockets open - it may just be you're trying to
> reopen too fast. Can you try as a test adding a sleep(1) or similar just to
> see whether Windows will free the socket if given a little bit of time?
> Ian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120224/71fcec6a/attachment.htm>

More information about the zeromq-dev mailing list