[zeromq-dev] Asking for a suggestion: creating new connection between clients
AJ Lewis
aj.lewis at quantum.com
Mon Dec 5 15:05:06 CET 2011
On Sat, Dec 03, 2011 at 12:06:16PM +0100, Franz wrote:
> 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?
Any reason you can't use something that's already built for this, like
zeroconf for example? It doesn't use ZeroMQ, but it's used quite a bit
for service discovery, which is what you're looking for I think.
Regards,
--
AJ Lewis
Software Engineer
Quantum Corporation
Work: 651 688-4346
----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
More information about the zeromq-dev
mailing list