TCP Hole Punch (NAT Traversal) Library or something?

前端 未结 5 1006
感情败类
感情败类 2020-12-02 10:24

I want to do TCP Hole Punching (NAT Traversal) in C#. It can be done with a rendezvous server if needed. I found http://sharpstunt.codeplex.com/ but can not get this to work

5条回答
  •  伪装坚强ぢ
    2020-12-02 11:21

    We put together a library called IceLink that does P2P streaming using ICE/STUN/TURN with full NAT traversal. STUN-based hole-punching works for the majority of routers to establish a direct connection between peers, and for the "bad" routers out there, the connection falls back to a TURN-based relay.

提交回复
热议问题