[zeromq-dev] FileMQ and Latest CZMQ
Pieter Hintjens
ph at imatix.com
Thu Sep 26 11:46:32 CEST 2013
Hi Hogyun,
Sorry about that, I've not yet ported FileMQ onto CZMQ/2.0. I'm doing
that now, and will push the changes in a short time.
Thanks
Pieter
On Thu, Sep 26, 2013 at 10:48 AM, HG Choi <c.hogyun at gmail.com> wrote:
> To Developers,
>
> I am fairly new to ZMQ, CZMQ, so please bare with me!
>
> In the recent CZMQ-2.x, certain deprecated functions were removed.
>
> * Removed deprecated zstr_sendfm () method.
> * Removed deprecated zstr_sendf () method.
>
> http://grokbase.com/t/zeromq/zeromq-dev/139h4w88bz/announce-czmq-2-0-coming-up
>
> I am currently trying to build a reliable, robust, and tolerant file server
> and have chosen ZMQ for the task.
>
> In the ZGuide, in the section Transferring Files, fileio3 uses the
> deprecated methods mentioned above, for instance:
> ...
> while (true) {
> while (credit) {
> // Ask for next chunk
> zstr_sendfm (dealer, "fetch");
> zstr_sendfm (dealer, "%ld", offset);
> zstr_sendf (dealer, "%ld", CHUNK_SIZE);
> offset += CHUNK_SIZE;
> credit--;
> }
> ...
>
> Will this section of the guide not be relevent for the latest releases of
> CZMQ?
>
> Also, looking into FileMQ, I was not able to build it using the latest ZMQ
> and CZMQ available on github. I am suspecting this is due to the new recent
> removal of the methods. Am I wrong?
>
> I probably have not spent enough time investigating these issues further, so
> I might be completely disillusioned.
>
> If you could shed some light on the issue, or even building a file server,
> that would be much appreciated.
>
> Thank you,
>
> HG Choi
>
> _______________________________________________
> 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