zeromq Questions

3

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> client.bind("...
Iceland asked 13/3, 2013 at 13:1

4

Solved

I want to connect clients to a server using ZeroMQ (java bindings, jzmq), but I need the TCP information badly, for example the TCP/IP address of a client request! The problem is, for being able to...
Skald asked 30/1, 2013 at 11:2

3

Solved

I've just downloaded and installed zeromq-4.0.5 on an Unbutu Precise (12.04) system. I've compiled the hello-world client (REQ, connect, 127.0.0.1) and server (REP, bind) written in C. I start th...
Euthanasia asked 24/10, 2014 at 22:59

2

Solved

I am trying to make a class that will be able to send data and then receive them. Right now, it is working only for the first send/receive and with another attempt to .send() it will throw an erro...
Godgiven asked 1/3, 2018 at 18:43

2

Solved

please see the code below : server.py import zmq import time from multiprocessing import Process class A: def __init__(self): ctx = zmq.Context(1) sock = zmq.Socket(ctx, zmq.PUB) sock.bind('i...
Punt asked 10/8, 2020 at 2:57

2

I am having issues adding the ZeroMQ PHP extension to XAMPP. Setup: Windows 10, PHP7, XAMPP (7.0.9) Steps I already took: Added PHP (D:\xampp7\php) and PHP extensions (D:\xampp7\php\ext) direc...
Conscionable asked 26/11, 2016 at 17:37

3

Solved

I can't get ZeroMQ C++ wrapper to receive multipart messages. The same code using C version works just fine, but it leads to an exception with no explanations at all with C++. The multipart handlin...
Kiefer asked 1/6, 2011 at 15:18

2

Solved

I use timerfd with zmq. How can I use timerfd_create and timerfd_set to wait one second for the timer (https://man7.org/linux/man-pages/man2/timerfd_create.2.html)? I have looked through the link b...
Rodgerrodgers asked 4/8, 2020 at 7:2

7

Solved

What is the correct/best way to send objects like lists or dicts over zeromq in python? What if we use a PUB/SUB pattern, where the first part of the string would be used as a filter? I am aware ...
Shuttering asked 25/2, 2012 at 15:35

3

Solved

I am trying to get a python program to communicate with another python program via zeromq by using the request-reply pattern. The client program should send a request to the server program which re...
Bayonet asked 7/12, 2016 at 5:16

2

I am attempting to install jzmq, the Java ZeroMQ binding, from the Maven repository (http://search.maven.org/#search|ga|1|a%3A%22jzmq%22). When added as a dependency to my pom.xml[1] Maven download...
Narghile asked 19/9, 2013 at 18:29

3

Sorry for duplication of this question with another one. I can't solve my problem. I am working on a project based on Ratchet. I am trying to run the Push Integration example. So, in order to run,...
Hardness asked 7/7, 2014 at 12:20

1

I have created a socket file something like the following and want that the output of the socket must be read by the MQL5. See the following Python code: daemon.py import socket #import arcpy de...
Spectroscope asked 2/8, 2018 at 9:3

2

I've been working with zeroMQ a bit and I want to be able to connect securely over the Internet. I'm in ruby and could use SSL and/or some sort of shh connection but cannot find any examples of how...
Wineglass asked 21/10, 2012 at 1:2

1

Solved

I've put together this minimal example in order to send a message from a Router socket to a specific DEALER socker (That has it's identity set). When running these two programs it appears to hang o...
Promiscuity asked 24/2, 2020 at 17:6

1

I am having some problems with inter process communication in ZMQ between several instances of a program I am using Linux OS I am using zeromq/cppzmq, header-only C++ binding for libzmq If I ru...
Oaxaca asked 7/2, 2020 at 20:57

3

Solved

I am trying to send a jpeg image file through a ZeroMQ connection with pyzmq, but the output is 3 times the size of the input, and no longer a valid jpeg. I load the image and send with... f = ope...
Berliner asked 16/7, 2014 at 22:6

1

Solved

According to the Google Protocol Buffers documentation under 'Defining Services' they say, it's also possible to use protocol buffers with your own RPC implementation. To my understanding, Pr...
Dekow asked 6/1, 2020 at 18:12

1

Solved

I am trying to create a real life system where an action needs to be performed by the subscriber on real-time data provided by the publisher. Sometimes the PUB and SUB get out of sync(by up to 10 s...
Intermit asked 31/12, 2019 at 10:10

2

Solved

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...
Circumnavigate asked 23/5, 2014 at 9:8

2

I am working for a while with ZeroMQ. I read already some whitepapers and a lot from the guide, but one question remained open to me: Lets say we use PUB-SUB. Where or on which system are the mess...
Len asked 25/9, 2019 at 5:43

5

On g++ actualApp.cpp -lzmq I get actualApp.cpp:6:19: error: zmq.hpp: No such file or directory actualApp.cpp: In function ‘int main()’: actualApp.cpp:13: error: ‘zmq’ has not been declared ac...
Homogenous asked 24/4, 2013 at 2:13

2

I am trying a simple zmq script but somehow the responder is not getting the first message. The Responder looks like this: def main(): context = zmq.Context() socket = context.socket(zmq.REP) ...
Glissando asked 11/8, 2019 at 16:35

2

Could anyone please provide a real-world example of using zmq with the router/dealer pattern, and explain its advantage over the more simple publish/subscribe pattern? Thanks.
Runnerup asked 26/8, 2016 at 10:15

3

Solved

I'm attempting to use the ZMQ draft specs ZMQ_RADIO and ZMQ_DISH. I built libzmq and cppzmq with CMake ExternalProject and and the flag ENABLE_DRAFTS=ON and verified it was built with drafts using ...
Predestinate asked 17/7, 2017 at 20:56

© 2022 - 2024 — McMap. All rights reserved.