I have a client, whose code I can't change -- but I'd like to (re)write using ZeroMQ
sockets.
The clients use both raw TCP
and raw UDP
sockets.
I know I can use ZMQ_ROUTER_RAW
for raw TCP
sockets, but what about for raw UDP
datastreams?
I have a client, whose code I can't change -- but I'd like to (re)write using ZeroMQ
sockets.
The clients use both raw TCP
and raw UDP
sockets.
I know I can use ZMQ_ROUTER_RAW
for raw TCP
sockets, but what about for raw UDP
datastreams?
UDP Support for ZMQ is now documented here: http://api.zeromq.org/master:zmq-udp
Pyzmq version 18 has it as well, stating: "Protocols supported include tcp, udp, pgm, epgm, inproc and ipc." That said, my experimentation with Python hasn't found a solution that works yet. I get "protocol is not compatible with socket type" errors.
Support for UDP in ZeroMQ is brand new. The documentation for the new socket types (Radio/Dish) was just pushed to the GitHub repository a few days ago. As of right now, though, it still looks like there's no raw UDP support, but perhaps it will stem out of this new functionality.
I'd recommend commenting on the existing thread about adding UDP support: https://github.com/zeromq/libzmq/issues/807 .
UDP
in RADIO/DISH
there is a general notice in ZeroMQ Feature List: "Since version 4.2, libzmq
supports UDP
in Unicast and Multicast modes." –
Goby UDP Support for ZMQ is now documented here: http://api.zeromq.org/master:zmq-udp
Pyzmq version 18 has it as well, stating: "Protocols supported include tcp, udp, pgm, epgm, inproc and ipc." That said, my experimentation with Python hasn't found a solution that works yet. I get "protocol is not compatible with socket type" errors.
© 2022 - 2024 — McMap. All rights reserved.