[zeromq-dev] Queueing outgoing messages

2010-07-21 Thread ilejncs
Hello! Playing with "A simple client/server application" from Cookbook I've found out client blocks if no server run. Knowing from zmq_setsockopt(3), "The default 'ZMQ_HWM' value of zero means "no limit"", I'd expect different behavior. Could someone please explain? Thanks. == Best regards,

Re: [zeromq-dev] Queueing outgoing messages

2010-07-21 Thread ilejncs
I am sorry - client blocks on recv. 21.07.10, 16:50, "ilejncs" : > Hello! > > Playing with "A simple client/server application" from Cookbook I've found > out client blocks if no server run. > > Knowing from zmq_setsockopt(3), "The default 'ZMQ_HWM' value of zero means > "no limit"", > I

Re: [zeromq-dev] Queueing outgoing messages

2010-07-22 Thread Martin Sustrik
Ilja, > I am sorry - client blocks on recv. >> Hello! >> >> Playing with "A simple client/server application" from Cookbook I've found >> out client blocks if no server run. >> >> Knowing from zmq_setsockopt(3), "The default 'ZMQ_HWM' value of zero means >> "no limit"", >> I'd expect diff

Re: [zeromq-dev] Queueing outgoing messages

2010-07-22 Thread ilejncs
Martin, thank you. What is the purpose of HWM for ZMQ_REQ? Is it possible to have more than one message sent, having in mind Send/Receive nature of these sockets? What is expected for ZMQ_XREQ if HWM hit? From my observation it looks like Drop, right? Could you please correct the description

Re: [zeromq-dev] Queueing outgoing messages

2010-07-24 Thread Martin Sustrik
Ilja, > What is the purpose of HWM for ZMQ_REQ? Is it possible to have more > than one message sent, having in mind Send/Receive nature of these > sockets? No. Just one request a time. > What is expected for ZMQ_XREQ if HWM hit? From my observation it > looks like Drop, right? Block for request

Re: [zeromq-dev] Queueing outgoing messages

2010-07-24 Thread Ilja Golshtein
Martin, thank you. What is the purpose of HWM for ZMQ_REQ? Is it possible to have more than one message sent, having in mind Send/Receive nature of these sockets? What is expected for ZMQ_XREQ if HWM hit? From my observation it looks like Drop, right? Could you please correct the description