[zeromq-dev] Asking for a suggestion: creating new connection between clients

Franz francesco.cattoglio at inventati.org
Sat Dec 3 12:06:16 CET 2011


Hello everyone, I have the following scenario:
-1 server, 2 or more clients
-the client #1 owns something that interests other client(s), be it a
file or a stream of data.
-the client #2 does not know the name nor the IP of the client #1, just
the one of the server.
-Both clients connect to the server, and the server just "makes them
able" to connect to each other. It might be something as easy as telling
them the IP of the other client, or anything else. The important catch
is that the file or stream should not go through the server, but
straight from #1 to #2 (for saving bandwidth), more or less the same way
it happens in P2P networks.

Any idea about what can be done in ZeroMQ to achieve this?




More information about the zeromq-dev mailing list