Cppzmq - Router to Router communication gets stuck on initial connect
I'm trying to recreate the Router-to-Router example from PyZMQ using cppzmq. I tested the Python version and the behavior is as expected (i.e., client connects to server, server sends reply).However,...
View Articlepyzmq REQ/REP with asyncio await for variable
I'm playing for the first time with asyncio in python and trying to combine it with ZMQ. Basically my issue is that I have a REP/REQ system, in an async def with a function I need to await. how the...
View ArticleHow to use zeromq to send a string with variable length?
I am new to zeromq and I want to use zeromq to send a self-defined struct. The struct is filled inside a C language project, and I use this struct to collect some log info from the C project. Then I...
View ArticleWhat's better for Video and Real-Time Control - ZMQ or Websockets?
I am writing a remote server to control a robot with. The robot provides video and its current sensor state; the server sends control commands.My choices for sending the frames and the...
View ArticleWhy does the ZeroMQ ROUTER-DEALER pattern have high latency?
Using libzmq 4.2.5 on centos 7. Getting very high latency when messages are sent from DEALER to ROUTER and even from ROUTER to DEALER. So I wrote a simple client-server program using tcp and sent...
View ArticleHow to establish zmq connections between docker containers using docker...
I want to establish a connection using the draft server/client pattern of ZeroMQ across different docker containers. For that, I have a zmq.server that is running in docker_container_server. In...
View ArticleZeroMQ Timeout if client cannot connect to the server
I want to have an exclusive pair of 2 sockets to allow bilateral communication between 2 separate applications. I use ZeroMQ cppzmq.In the client, I am checking if the server is live by a handshake.It...
View ArticleZeroMQ background thread creation
I am trying to understand the threading model of ZeroMQ.According to their white paper http://zeromq.org/whitepapers:architecture#toc3, each I/O thread that the context is created with maps directly to...
View ArticleZeroMQ PAIR/PAIR connection between Ruby an Python
I want to make a simple connection between a Python program and a Ruby program using ZeroMQ, I am trying to use a PAIR connection, but I have not been able.This is my code in python (the server):import...
View ArticleZeromq server in javascript, not possible?
I'm trying to create an interface in javascript to talk to and control robots (written in C) using zeromq. I'm new to zeromq and have great difficulty in finding a library to use zeromq in javascript,...
View ArticleLag Effecting Signal On ZMQ TCP Connection On GNURadio [closed]
I am connecting my RTLSDR Source to ZMQ REP Sink and it goes to ZMQ REQ Source to my hackrf using tcp connection in which I am trying to transmit the signal from there but there is lag which only some...
View ArticleTCP Connection Leak Issue | After establishing a connection does ZMQ's...
I’ve PUSH client (which connect() to the server)and, a PULL server (which bind() on a port 8082)Now PUSH client faces some network issue (FYI: I've turned of wifi to prduce the scenario of a production...
View Articlehow to use ZeroMQ in micro controllers? [closed]
I'm working on a project involving microcontrollers, and I want to implement efficient communication between them using ZeroMQ. I'm familiar with using ZeroMQ on more powerful systems (like Raspberry...
View ArticleAbort zeromq recv() or poll() from another thread - instantly and without the...
I'm using ZeroMQ in Python and C++ in many configurations and I wonder which is the most elegant way to abort a recv() or poll() from another thread (e.g. in case of controlled program termination but...
View ArticleZeroMQ how to get bound address in pyzmq
I'm using ZMQ bindings in Python, and I want to bind clients to some port, and then send that location to other clients to connect.Now this is basic binding code:subscriber =...
View ArticleHow to call python scripts in separate process from a C++ program [closed]
in a standalone C++ program (for windows only) I want to call python scripts in a separate process.I have the following requirements:The user should not have to install python to run the C++...
View ArticleRight way to add .h dependency to go_library using Cgo?
I am trying to build a go_binary that depends on com_github_pebbe_zmq4, a go wrapper of the libzmq in C++. I've been struggling to make pebbe/zmq4 "see" zmq.h in libzmq, and can't make it work after...
View ArticleHow to avoit jitter in the call frequency of listen() in the Dart stream...
I'm using a ZMQ library in my Dart/Flutter project for the network communication. I have a pair of PUB/SUB TCP sockets and the publisher pushes one message every 100ms. I use this code for listening to...
View Article.Net Zero MQ/NET MQ creates new NetMQRuntime() for each request
I am using the Net MQ (Zero MQ) async implementation described in their docs: https://netmq.readthedocs.io/en/latest/async-await/I have implemented this on my .aspx page which processes each request...
View Articlecancelling asyncio.wait in combination with...
I'm trying to make a code template which sends a heartbeat to some external things by ZMQ on win32 and linux.On win32 I must use the asyncio.WindowsSelectorEventLoopPolicy() because of zmq and...
View Article