[zeromq-dev] Hole Punching

Pieter Hintjens ph at imatix.com
Sun Feb 16 11:46:30 CET 2014


You can't do this directly with ZeroMQ. Indeed for most hole punching
you need UDP. My suggestion would be write a bridge that does ZeroMQ
at one side and UDP/hole punching at the other (there are libraries
for this, I assume).

On Sat, Feb 15, 2014 at 6:00 PM, Ngo Doan Lap <lapngodoan at gmail.com> wrote:
> Hi all,
> I'm developing P2P application using zeromq. In the real world, some peers
> are visible to others (they have public IP), some peers are invisible to
> others as they behind a NAT.
> The paper "Peer-to-Peer Communication Across Network Address Translators" (
> http://www.brynosaurus.com/pub/net/p2pnat/) shows how to make connection
> between peers behind NAT devices. I tried to apply this, and I can make this
> happen with regular socket but I don't know how to do with zeromq.
> Could you please give me some advice for this issue?
> --
> Thanks and Best Regards,
> Ngo Doan Lap
> Mobile: 0977.833.757
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list