Sorry, about my last mail. I some how missed this reply. The 
zsock_resolve(client) worked.

Thanks.

--
sp


Message: 1
Date: Fri, 27 Sep 2019 11:29:39 +0100
From: Luca Boccassi <[email protected]>
To: ZeroMQ development list <[email protected]>
Subject: Re: [zeromq-dev] segmentation fault with czmq
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

On Thu, 2019-09-26 at 23:22 +0000, Shishir Pandey wrote:
> Hi
> 
> I was trying to run the lpclient.c (lazie pirate, chapter 4,
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fzguide.zeromq.org%2Fpage%3Aall%23Client-Side-Reliability-Lazy-Pirate-Pattern&amp;data=02%7C01%7C%7C3f3c50f4e3c245ef7c9508d743fab0cd%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637052616294800955&amp;sdata=aNOIbRZJihEl616aNoEaqnwFuh7GTpeGv5t9XRm7%2Fxk%3D&amp;reserved=0
> )   program from the guide. The program uses the old czmq API and
> does not work. I was trying to run with the latest czmq library and 
> change the program to the following program :

You cannot pass a zsock directly to zmq_pollitem_t. Pass the return value of 
zsock_resolve(client) instead.

--
Kind regards,
Luca Boccassi

_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to