Re: [zeromq-dev] ZMQ_STREAM with inproc ?#

2014-02-16 Thread Goswin von Brederlow
On Fri, Feb 14, 2014 at 10:26:10AM +0100, Pieter Hintjens wrote: On Wed, Feb 12, 2014 at 9:25 AM, Laurent Alebarde l.aleba...@free.fr wrote: If the answer is positive, I think it should assert as soon as the socket binds or connects to a none tcp address. Please don't assert. return an

Re: [zeromq-dev] ZMQ_STREAM with inproc ?#

2014-02-16 Thread Pieter Hintjens
You're right about passing such errors up to the language binding. On Sun, Feb 16, 2014 at 3:05 PM, Goswin von Brederlow goswin-...@web.de wrote: On Fri, Feb 14, 2014 at 10:26:10AM +0100, Pieter Hintjens wrote: On Wed, Feb 12, 2014 at 9:25 AM, Laurent Alebarde l.aleba...@free.fr wrote: If

Re: [zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-14 Thread Pieter Hintjens
On Wed, Feb 12, 2014 at 9:25 AM, Laurent Alebarde l.aleba...@free.fr wrote: If the answer is positive, I think it should assert as soon as the socket binds or connects to a none tcp address. Please don't assert. return an error. An application can never handle an assert and give a good

Re: [zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-12 Thread Laurent Alebarde
Le 11/02/2014 10:18, Goswin von Brederlow a écrit : On Mon, Feb 10, 2014 at 05:38:44PM +0100, Laurent Alebarde wrote: Le 10/02/2014 11:12, Goswin von Brederlow a écrit : On Sun, Feb 09, 2014 at 12:16:48AM +0100, Laurent Alebarde wrote: When I replace the tcp address tcp://127.0.0.1:5556 with

Re: [zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-11 Thread Goswin von Brederlow
On Mon, Feb 10, 2014 at 05:38:44PM +0100, Laurent Alebarde wrote: Le 10/02/2014 11:12, Goswin von Brederlow a écrit : On Sun, Feb 09, 2014 at 12:16:48AM +0100, Laurent Alebarde wrote: When I replace the tcp address tcp://127.0.0.1:5556 with an *inproc* one, say inproc://testStream, in

Re: [zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-10 Thread Goswin von Brederlow
On Sun, Feb 09, 2014 at 12:16:48AM +0100, Laurent Alebarde wrote: When I replace the tcp address tcp://127.0.0.1:5556 with an *inproc* one, say inproc://testStream, in /tests/test_stream.cpp/, the test fails. It asserts on rc = zmq_recv (stream, buffer, 255, 0); assert (rc == 0);

Re: [zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-10 Thread Laurent Alebarde
Le 10/02/2014 11:12, Goswin von Brederlow a écrit : On Sun, Feb 09, 2014 at 12:16:48AM +0100, Laurent Alebarde wrote: When I replace the tcp address tcp://127.0.0.1:5556 with an *inproc* one, say inproc://testStream, in /tests/test_stream.cpp/, the test fails. It asserts on rc = zmq_recv

[zeromq-dev] ZMQ_STREAM with inproc ?

2014-02-08 Thread Laurent Alebarde
When I replace the tcp address tcp://127.0.0.1:5556 with an *inproc* one, say inproc://testStream, in /tests/test_stream.cpp/, the test fails. It asserts on rc = zmq_recv (stream, buffer, 255, 0); assert (rc == 0); The documentation for sockets says: /A socket of type 'ZMQ_STREAM' is