nanomsg / nng

nanomsg-next-generation -- light-weight brokerless messaging
https://nng.nanomsg.org
MIT License
3.63k stars 472 forks source link

Replace ZMQ(router/dealer) to NNG in raw mode problem #1790

Closed mohit-kumawatt closed 4 months ago

mohit-kumawatt commented 4 months ago

i want to replace zmq by nng in my project and in which there are more than one number of dealers where i want to send the message. Can it be possible to replace zmq. and if it is possible then please provide the document of nng raw mode.

gdamore commented 4 months ago

You probably don't need to use raw mode.

You can use nng_device() to build these kinds of configurations. You only need raw mode if you want to have more direct control over the routing.

The details of the raw mode are specified ind the documentation. Please see for example the documentation for REQ in nng_req.7