hole-punching

UDP hole punching implementation

雨燕双飞 提交于 2019-11-26 18:57:13
问题 I am trying to accomplish UDP hole punching. I am basing my theory on this article and this WIKI page, but I am facing some issues with the C# coding of it. Here is my problem: Using the code that was posted here I am now able to connect to a remote machine and listen on the same port for incoming connections (Bind 2 UDP clients to the same port). For some reason the two bindings to the same port block each other from receiving any data. I have a UDP server that responds to my connection so