开发者

NAT punching implementation

I am trying to run a file sharing software behind NAT. As I am going through the papers on NAT Punching, I found it very difficult to implement since there are nearly 27 different implementation of NATs and hence I am facing a lot of difficulty in deciding how to start.

Which way should I implement it so that开发者_运维技巧 I can punch holes in most of the NATs?

Is this difficult to do in C?


You can check how NAT punching is implemented in popular RakNet open-source library (intended for game networking). It also provides an excellent description of NAT punching technique.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜