[zeromq-dev] ZMQ_LINGER does not work for me.

Martin Hurton hurtonm at gmail.com
Tue Jul 23 08:26:13 CEST 2013


Hi Frank, could you create a Jira issue with a simple C example
reproducing the problem? Thanks.

- Martin

On Fri, Jul 19, 2013 at 9:12 PM, Frank Hartmann <soundart at gmx.net> wrote:
> "Hunter, Robert" <Robert.Hunter-Rivera at netapp.com> writes:
>
>> I believe the unit is in milliseconds, so 3000 is 3 seconds.
>
> Hi Robert,
>
> yes 3000ms is my understanding too. My argumentation is a bit tricky
> here:
>
> 3000ms should be more than enough to send the 2 megabytes. I measured
> smaller 500ms or so for 2 megabyte.
>
> So I would expect, that with a linger value of 3000 a sequence of:
>
> main(...)
> {
>   ...
>   send(2megabyte);
>   zmq_close(...);
> }
>
> Should result in the message being sent. Instead it is lost. Now I am
> wondering.
>
> kind regards
>   Frank
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list