[zeromq-dev] zframe compatible w/zsock picture?

Georger, Joseph joseph.georger at stresearch.com
Mon Mar 26 16:44:16 CEST 2018


Thanks for the confirmation. Should we perhaps change the zsock man page to note this? The use of the word frame in this context can easily be misinterpreted to imply compatibility....

       //  Send a 'picture' message to the socket (or actor). The picture is a
       //  string that defines the type of each frame. This makes it easy to send
       //  a complex multiframe message in one call. The picture can contain any
       //  of these characters, each corresponding to one or two arguments:
...
       CZMQ_EXPORT int
           zsock_send (void *self, const char *picture, ...);

Thanks,
Joe
 
    >_______________________________________________
    >zeromq-dev mailing list
    >zeromq-dev at lists.zeromq.org
    >https://lists.zeromq.org/mailman/listinfo/zeromq-dev
    
    Right, you have to use the zsock-recv/send APIs together - look at the implementation if you want to replicate it manually but note that it's not a public protocol so it's not guaranteed to stay unchanged. Those APIs are intended as a self-contained shortcut.
    
    
    ------------------------------



More information about the zeromq-dev mailing list