Hi! I'm working on ZMQ, I have a class Client that should send 100 request
to the server, you can see here both classes:
public class Client {
public static void main(String[] args){
// Prepare our context and socket
ZMQ.Context context = ZMQ.context(1);
On Thu, Oct 11, 2012 at 1:12 AM, Kah-Chan Low kahchan...@yahoo.com wrote:
I am a newbie to ZMQ and in my project I need to use a router-to-router
(instead of router-to-dealer) pattern.
Right there, you're doing it wrong.
Don't try doing router-router, it is a non starter. Instead do
On Wed, Oct 10, 2012 at 5:52 PM, John Khvatov iva...@gmail.com wrote:
Yep. But ZMQ does not allow to call zmq_close()/zmq_term() in child process.
It is wrong...
Why not create the context in the forked process where you need it.
I.e. after forking, not before.
-Pieter
On Wed, Oct 10, 2012 at 3:03 PM, Tuomas Koski koski.tuo...@gmail.com wrote:
However the http://php.zero.mq has not been responding for some time
(at least in two weeks I think).
Is this a known problem? Is there a alternative online documentation?
Sorry about that, it is a known problem - the
Hi Pieter,
Just to make sure I get it right, do you mean that each node should have two
sockets: 1 router(server) and 1 dealer(client)?
Thanks!
KC
From: Pieter Hintjens p...@imatix.com
To: Kah-Chan Low kahchan...@yahoo.com; ZeroMQ development list
Hi,
On 11 October 2012 12:12, Ian Barber ian.bar...@gmail.com wrote:
Sorry about that, it is a known problem - the machine died and it is a
pain to regenerate the docs - neither Mikko or myself have had a
chance. I will try and take a look at it this weekend, in the meantime
there are lots of
Anna,
Could you paste the full source ?
Also, kill -3 server_pid might show what blocks the server.
Thanks
Min
2012/10/10 Anna a...@aphroditel.eu:
Hi! I'm working on ZMQ, I have a class Client that should send 100 request
to the server, you can see here both classes:
public class Client {
It looks to me like your server only calls recv() once, and the thread
only runs once. You need to put that logic in a loop.
-Michel
On Wed, Oct 10, 2012 at 1:36 AM, Anna a...@aphroditel.eu wrote:
Hi! I'm working on ZMQ, I have a class Client that should send 100 request
to the server, you
On Thu, Oct 11, 2012 at 5:14 PM, andrea crotti
andrea.crott...@gmail.com wrote:
So suppose I want to make sure that I'm not binding twice, what should I
do? Check if the file already exists or?
Yep
try:
sock.bind(addr)
except zmq.Error:
# loop over until find a free channel
In a ZMQ socket connection, if one end dies, does the surviving end perform
auto clean-up?
Thanks!
KC
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
On Oct 11, 2012, at 8:09 PM, Kah-Chan Low wrote:
In a ZMQ socket connection, if one end dies, does the surviving end perform
auto clean-up?
Yes.
cr
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
Hey!
I've recently started messing around with ZeroMQ and so far I'm happy, but I
have one question. With TCP sockets I am enable to do hot server restarts (i.e.
start a new binary without dropping connections) by doing fork/exec which keeps
the sockets open, meaning that (with some
Created issue LIBZMQ-446.
Thanks
--
Rohan Bedarkar
MS, Computer Science
University of Chicago
roh...@cs.uchicago.edu
From: Steven McCoy steven.mc...@miru.hk
To: ZeroMQ development list zeromq-dev@lists.zeromq.org
Sent: Wednesday, October 10, 2012
I run the code (http://zguide.zeromq.org/cpp:rtpapa) on Window (ZeroMQ
version 3.2.0) and get a error (errno = EFSM and comment If we are in
middle of sending a reply, we cannot receive next request.). Help me fix
this!
// http://zguide.zeromq.org/cpp:rtpapa
// Custom routing Router to Papa
On Thu, Oct 11, 2012 at 11:29 PM, Merijn Verstraaten
mer...@inconsistent.nl wrote:
I'm trying to achieve the same effect using ZeroMQ, but I'm not sure whether
this is actually possible. As far as I can tell from the manual pages closing
a socket will cause messages that are in-transit to be
Hi,
Can you please try the C versions? I'm not sure the C++ example code
is correct any longer.
-Pieter
On Fri, Oct 12, 2012 at 10:40 AM, Hoàng Minh Hải haihm1...@gmail.com wrote:
I run the code (http://zguide.zeromq.org/cpp:rtpapa) on Window (ZeroMQ
version 3.2.0) and get a error (errno =
16 matches
Mail list logo