Now, both read and write operations on a given TCP socket are
performed by the same IO thread. See stream_engine implementation.

- Martin

On Fri, Jul 6, 2012 at 12:57 PM, Pieter Hintjens <p...@imatix.com> wrote:
> On Fri, Jul 6, 2012 at 5:39 PM, Rene-Pierre Lehmann <rplehm...@gmail.com> 
> wrote:
>
>> Is it possible with zeromq to use underlying tcp sockets in a
>> full-duplex fashion?
>> By full duplex I mean that an io thread may read from a tcp socket
>> while another io thread may concurrently write to the same socket.
>
> No, this will cause the library to crash. However you can create two
> sockets in two threads, and use one for input, and one for output.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to