[zeromq-dev] CZMQ v3 API

Pieter Hintjens ph at imatix.com
Fri Aug 15 20:24:06 CEST 2014


Hi all,

Just a heads up about the emerging V3 API in CZMQ. This has emerged
out of various threads about simplifying the API.

If you're using zauth, note that there's now a new zactor-based
version in zauth.c, and the old v2 code is in zauth_v2.c. You can see
the test cases for each one.

The old v2 API uses zctx, zsocket, zthread, and passes a ctx through
to zauth_new.

The new v3 API uses zsock, zactor, and doesn't use contexts at all.

I'll continue to make similar changes for the other async classes
(zmonitor, zbeacon), so it's clearer what the deprecated pieces are.

-Pieter



More information about the zeromq-dev mailing list