Hi all,

If you create N sockets from the same context and connect them all to the
same remote address, there will be N file descriptors opened by the 0mq
library. Am I wrong to assume that it is possible for the library to use
only 1 fd and multiplex incoming messages to socket mailboxes based on their
identifies?

Saving fds will be very helpful if we write programs with a lot of threads
which all connect to the same remote address, especially when there are more
than 1 such socket for each thread. The program will quickly run out of fds
if one is needed for each socket mailbox.

-- Yichao
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to