pyzmq Questions

1

Solved

I am using a REQ/REP type socket for ZMQ communication in python. There are multiple clients that attempt to connect to one server. Timeouts have been added in the client script to prevent indefini...
Chart asked 7/7, 2014 at 20:41

1

I Have installed zeromq 4.0.4 in my ubuntu machine.i have to downgrade my zmq to 3.2.4. i have tried sudo make uninstall , sudo make clean but none of them worked so far. and i also installed 3.2.4...
Clingy asked 17/4, 2014 at 10:11

2

Solved

This is my first exposure to ZMQ under Python and I want the server to sent multiple lines when it receives a request from the client. The code that I added to the example offered by ZMQ on the ser...
Numismatology asked 25/5, 2014 at 13:2

1

Solved

I implemented a client/server via ZeroMQ and I would like to add a sniffer/monitor to capture the communication between the two. client <---------> server (REQ) | (REP) | | v sniffer ...
Fluoresce asked 27/5, 2014 at 4:57

1

Solved

This code will raise Resource temporarily unavailable when call with NOBLOCK: context = zmq.Context() sender = context.socket(zmq.PUSH) sender.bind('tcp://*:15556') sender.send('KeEpAliv', zmq.NOB...
Legislator asked 17/2, 2014 at 10:22

1

Solved

There is probably something very small that I am missing but I am unable to get a simple pub-sub example working in Python using the official Pyzmq package (https://github.com/zeromq/pyzmq). I am ...
Haskel asked 18/12, 2013 at 12:28

1

Solved

Hi good people of StackOverflow. I'm using pyzmq and I've got some long-running processes, which led to a discovery that socket handles are being left open. I've narrowed the offending code down ...
Becquerel asked 19/11, 2013 at 20:35

1

Solved

I'm write a zeromq demo with Forwarder device (with pyzmq) Here are the codes(reference to https://learning-0mq-with-pyzmq.readthedocs.org/en/latest/pyzmq/devices/forwarder.html ): forwarder.py ...
Sweeping asked 18/10, 2013 at 6:25

6

Solved

I noticed that a zeromq PUB socket will buffers all outgoing data if it is connecting, for example import zmq import time context = zmq.Context() # create a PUB socket pub = context.socket (zmq.P...
Gyrostatic asked 21/1, 2012 at 9:53

1

Solved

I stumbled on zeromq when searching for an efficient solution to IPC in python; I have a couple of python processes which need to do some cpu intensive processing on data from a dict in a master pr...
Snyder asked 27/6, 2013 at 22:12

1

Solved

I have a problem in closing python application while I using ZeroMQ. first I connect to a server that is not running! context = zmq.Context() socket = context.socket(zmq.REQ) socket_id = randomID(...
Amathiste asked 17/6, 2013 at 4:28

1

Solved

I'm pulling my hair out over this one. I'm trying to get the simplest of examples working with zeromq and gevent. I changed this script to use PUB/SUB sockets and when I run it the 'server' socket ...
Saltsman asked 16/12, 2012 at 18:12

2

Solved

I m currently using zmq with python. Server is using REP socket. Do I have a way, when recv a message, to know who send it ? If a receive 2 messages, I just need to know if they come from the sam...
Fiducial asked 2/8, 2012 at 21:36

1

Solved

I'm using PyZMQ to create a request/reply server, and I'm trying to figure out if the act of creating a thread for each new client connection is handled by PyZMQ automatically. Ultimately, I'm tryi...
Outweigh asked 29/10, 2012 at 15:11

1

Solved

In experimenting with the ZeroMQ Push/Pull (what they call Pipeline) socket type, I'm having difficulty understanding the utility of this pattern. It's billed as a "load-balancer". Given ...
Volitive asked 20/9, 2012 at 0:13

1

Solved

In python, I am using the following: context = zmq.Context() socket = context.socket(zmq.PUSH) socket.bind_to_random_port('tcp://*', min_port=6001, max_port=6004, max_tries=100) port_selected ...
Pseudoscope asked 5/7, 2012 at 9:48

1

Solved

I'm trying to run IPython notebook in Vista. I believe I installed all the necessary dependencies (listed here) with easy_install. IPython runs fine. But when I try and run the IPython notebook eve...
Insinuation asked 12/4, 2012 at 14:54

© 2022 - 2024 — McMap. All rights reserved.