NAT traversal using free STUN and TURN servers in C#

馋奶兔 提交于 2019-12-12 09:16:48

问题


This is my previous post:

NAT Traversal using only free STUN and TURN servers in C#

I am making an online application that communicates with each other peer-to-peer. Most users are expected to be in their private network behind a NAT, and I need to traverse it. I can't afford an external server, so the only things that I can depend on is free servers like Numb (which means I cannot provide my own implementation or extension of it.)

However, after some research, I couldn't figure out how to use such servers. I didn't find a library that could be used with C# either.

How should I use such servers to establish a connection over networks? Is there a library to simplify those stuff? (I'm a high-school student and I can only use a free one.) It would be better if it also implemented ICE protocol.

Some people suggested I use UPnP, and that indeed did work well for me, but some of the users did not like to turn on the UPnP on their routers. That's why I'm asking it here again.


回答1:


I belive you can use OfficeSIP TURN Server which is written in C#

http://sourceforge.net/projects/turnservernet/



来源:https://stackoverflow.com/questions/24096335/nat-traversal-using-free-stun-and-turn-servers-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!