Using ZMQ, which pattern and framework to use in such a scenario ? Two...
My application is separated in two computers (A which contains some GUI and B which contains some complex processing).Here are some constraints:PROBLEMSBoth computers need to communicate between each...
View ArticleSetup zeromq client-server between Windows and WSL
I'm using ZeroMQ to set up a client-server communication system where the server runs on WSL and the client runs on Windows. For testing purposes, I'm using the default client-server example code in C...
View ArticleHow to launch ECS task instances dynamically using C#?
I have a micro-services application that I am deploying to AWS using ECS Fargate. Most of the containers can be deployed as long running tasks in a service. However, I need to spin up new containers as...
View ArticleCreate NetMQ Socket on one thread and operate on another?
I understand that NetMQ sockets are not thread safe. I'm trying to understand the exact boundaries of this. Must all access to a socket (creation, connect/bind and send/receive) be on the same thread?...
View ArticleHow to implement NetMQ(ZeroMQ) solution properly?
I'm using ZeroMQ (NetMQ, latest version) in a Client (WinForms) / Service (WCF) setup. The current implementation has multiple thread loops for message handling and a heartbeat mechanism, but it's...
View ArticleZeroMQ and multiple subscribe filters in Python
I'd like to subscribe to multiple filters with ZeroMQ in Python, using one socket.sock.setsockopt(zmq.SUBSCRIBE, 'first.filter')sock.setsockopt(zmq.SUBSCRIBE, 'second.filter')But this doesn't work....
View ArticleZMQError: Cannot assign requested address
I'm using zeromq to develop a dynamic application which operate like upnp protocol( autoconfiguration and auto-discovery of equipment on a living room). To do it so, i use zeromq to distribute...
View ArticlesrsUE on FPGA not connecting to srsRAN
I'm running srsUE on FPGA, buildroot with 2 CPUs and 1G memory. srsRAN is running on my laptop, ubuntu 22. I use dockerized version of 5gc.srsUE and srsRAN connected through ZMQ and on a local...
View ArticleHow to gracefully terminate a socket server?
If I have a server function that is listening to a port in an infinite loop, how do I stop it? If i do ctrl+c it terminates the process and the program does not get a chance to destroy the socket...
View ArticleLink error finding pthread when cross compiling for Raspberry PI using Macos
Im trying to build an application on the mac (host) for the raspberry pi (target) that will use zeromq. I can write a simeple program that uses pthread and it runs perfectly. When I enable -lzmq,...
View ArticleWhy is the requester and responder socket string different in zmq_bind vs...
I have just started studying the ZeroMQ messaging library from Chapter 1 of the guide (available here). While I understand the well-written examples, I don't get one small point of the syntax:...
View ArticleHow to receive a multipart message in ZMQ using Java?
As simple as this operation seems I can't find any documentation regarding how to receive a multipart message using ZMQ (Jeromq). I checked The Guide but it only contains C code with this info and it...
View ArticleZeromq Broadcast All to All
What would be the best way of doing an all-to-all communication, would it be best to do a pub-sub with everyone subscribing to everyone else, or is there a socket type better suited for this?
View Article