[zeromq-dev] How is a zeromq socket built?

Martin Sustrik sustrik at 250bpm.com
Fri Aug 5 09:10:18 CEST 2011


Hi Satyam,

> I was wondering if a zeromq socket has multiple tcp socket when we do
> multiple connects to a single machine or does it have a single tcp
> socket over which it demultiplexes messages?

It has multiple TCP sockets. The point is that the data flows are 
mutually independent and thus should *not* be passed through a single 
TCP connection to prevent head of line blocking and similar problems.

Martin



More information about the zeromq-dev mailing list