[zeromq-dev] Compatibility of Socket Types and Protocols

Luca Boccassi luca.boccassi at gmail.com
Fri Nov 16 12:14:43 CET 2018


On Fri, 2018-11-16 at 11:39 +0100, Stephan again wrote:
> Hi
> 
> is there somewhere a summary about the compatibility between Socket 
> Types and Protocols?
> 
> Socket Types:
> 
> The Socket Types and how they can be combined is documented here: 
> http://api.zeromq.org/master:zmq-socket
> 
> Protocols:
> 
> The Protocols are listed here: http://api.zeromq.org/master:zmq-conne
> ct 
> (Btw. udp is missing here).
> 
> Following the documentation of each of the protocols, nothing is
> stated 
> about their compatibility towards Socket Types. Except that udp is
> only 
> compatible with ZMQ_DISH and ZMQ_RADIO at the moment.
> 
> Does this mean, that you can use any Socket Type with any Protocol,
> with 
> an exception for udp?
> 
> A matrix would be cool, like socket types vs. protocol types.
> 
> Another question would I have is: To what extend is it possible to 
> binding and connecting sockets to multiple addresses with different 
> protocols?
> 
> Kind Regards,
> 
>    Stephan

Protocols cannot be mixed, they must match.

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20181116/3320a6aa/attachment.sig>


More information about the zeromq-dev mailing list