How to use ZeroMQ for raw UDP?

FreeMemory picture FreeMemory · May 23, 2014 · Viewed 9.5k times · Source

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?

Answer

Hank Schultz picture Hank Schultz · May 3, 2016

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 .