Quantcast
Channel: Active questions tagged zeromq - Stack Overflow
Browsing all 193 articles
Browse latest View live
↧

I can't communicate from C++ to GnuRadio with ZeroMQ REQ

I have a C++ code to send commands and change parameters in a GnuRadio flowgraph. To do a simple test I'm trying to send a string from a C++ code and visualize it in GnuRadio.This is my C++...

View Article


ZeroMQ - Can we check subscribers before sending a message?

The classic ZeroMQ PUB pattern, is something like :format your complete messagesend your message(managed by ZMQ) if there is a subscriber to the topic, then send it, else trash it ?What I've noticed in...

View Article


How to send sparse vectors and matrices over ZeroMQ?

I have a matrix A (how many stories start this way?) that is sparse. [[0, 0, 0, 1.2, 0][0, 0, 0, 0, 0][3.5, 0, 0, 0, 0][0 7, 0, 0, 0]]I want to send variants of this back and forth between processes...

View Article

ZMQ Subscriber not receiving all the messages

I am trying PUB SUB ZMQ communication using Golang. I was trying to send a number of messages (for example 10000) from PUB to SUB and checking the time required to receive all the messages in SUB. But...

View Article

Peer to peer communication using ROUTER-DEALER

I want to establish a communication between two peers (lets say A and B). Where A most of the time sends a message to B and B may or may not reply depending on the message and vice versa. I can think...

View Article


How to expose a ZMQ container port outside of docker/container using...

I have a container with several ports. I want remote access to the port 9001 outside of the container.My docker IP is: 172.17.0.1My container IP is: 172.19.0.23My server IP is: 192.168.1.131I have...

View Article

Why do ZMQ PUSH/PULL and PUB/SUB patterns behave differently for late joiners?

I'm observing different behaviors between ZMQ PUSH/PULL and PUB/SUB patterns when using ZMQStream. In PUSH/PULL, if my PULL socket starts late, it still receives messages that were sent earlier....

View Article

How to delete flatbuffers received from ZeroMQ

I'm looking for an example in C++ 11 to delete flatbuffers received by ZeroMQ.I have two applications: Publisher and Subscriber.I know that on the Publisher (sender) side, that the FlatBufferBuilders I...

View Article


Problem with client and server operation on ZeroMQ pattern ROUTER-DEALER

I want to make a connection between the client and the server in my C++ application in Linux.On the client, I use a DEALER socket.On the server, I use proxies and workers to asynchronously process...

View Article


How to use Zeromq's inproc and ipc transports?

Im a newbie to ZERMQ. ZeroMQ has TCP, INPROC and IPC transports. I'm looking for examples using python and inproc in Winx64 and python 2.7, which could also be used for linux. Also, I have been looking...

View Article

ZMQ C++ Topics for Publish/Subscribe

For my Publisher/Subscriber pattern I want to use topics. So publish different messages on different topics. I already used topics in ZMQ with Python, but can not find how to use in C++.Is it possible...

View Article

Visualizing ZeroMQ network as graph in real time

I have a network of nodes in Python where I am using the ZeroMQ library with publish/subscribe messaging pattern to publish messages in a many-to-many fashion among other nodes. I want to be able to...

View Article

Difference between Apache Thrift and ZeroMQ

I understand that Apache Thrift and ZeroMQ are softwares belonging to different categories, and it is not easy to do a comparison since it is an apple to orange comparison. But I don't know why they...

View Article


grpc and zeromq comparsion [closed]

I'd like to compare somehow capabilities of grpc vs. zeromq & its patterns: and I'd like to create some comparsion (feature set) - somehow - 0mq is "better" sockets - but anyways - if I apply 0mq...

View Article

ZeroMQ REQ/REP server error handling

I am trying to use the ZeroMQ rep/req and cannot figure out how to handle server side errors. Look at the code from here: socket.bind("tcp://*:%s" % port)while True: # Wait for next request from client...

View Article


How do I trigger a ZeroMQ zmq.EVENT_HANDSHAKE_FAILED_PROTOCOL error?

I am testing an event monitor I wrote in Python for ZeroMQ. I would like to test my callback for the zmq.EVENT_HANDSHAKE_FAILED_PROTOCOL event. What is the easiest way to trigger this event? The reason...

View Article

Which communication type should I use in zeromq to redirect the message from...

I am developing a project in which the following needs to happen:The clients send their objects through a proxy. The proxy then needs to decide which server is responsible for handling that specific...

View Article


Does zeromq support IPC as a transport channel on windows?

I get the following error message, when I try the router example wiht python on Windows (Windows 8):Traceback (most recent call last): File "router.py", line 43, in <module>...

View Article

How do I specify an IPv6 address for a ZeroMQ REQ/REP setup on a local machine?

I cannot get a zmq server and client to talk with IPv6, while it easily works with IPv4 with C++.This is what the ip addr command shows:2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500...

View Article

Detecting socket connection using ZeroMQ STREAM sockets

I am building a new application that receives data from a number of external devices and needs to make it available to a number of different components. ZeroMQ seems purpose-built for the "data bus"...

View Article
Browsing all 193 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>