Just a thought. Why not use a normal UUID generating lib? Using zmq (or any lib, really) other than for what its advertised for can have undesired effects.
In python I would use stdlib uuid 1-4. -- Sean Pieter Hintjens <[email protected]> wrote: >On Mon, Dec 5, 2011 at 1:55 PM, gonzalo diethelm <[email protected]> wrote: > >> You said that “ZMQ UUIDs should not be used as long term identifiers to >> clients, since they are guaranteed to be unique per *connection*”. Are you >> sure about this? UUIDs are supposed to be universally unique (hence their >> name). > >You should not use identities as long-term handles to clients. They >specifically and only make sense as short-term identifiers for >connections to a single ROUTER socket, period. > >The current use of UUIDs is an internal mechanism, not documented. >libzmq can change its mind at any stage. > >-Pieter >_______________________________________________ >zeromq-dev mailing list >[email protected] >http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
