2 ms·
0mq is a library to make network programming easier, not a new protocol itself. UDP is being used because this is based on setting up a DHT which requires smal
by dedward 16y ago
0mq is a library to make network programming easier, not a new protocol itself.
UDP is being used because this is based on setting up a DHT which requires small messages that may or may not get through by nature to begin with - not bulk data transfer - presumably you deal with that at higher layers.
- scrame 16y ago0mq is an extension of the standard socket library and does support a reliable multicast protocol. It adds to sockets, its not just an api to make working with the existing standards easier. http://manpages.ubuntu.com/manpages/maverick/man7/zmq_pgm.7.html http://manpages.ubuntu.com/manpages/maverick/man7/zmq_pgm.7.... Though, it looks like it might need more permissions than just using standard sockets.