Send files after udp hole punching

佐手、 提交于 2019-12-23 02:46:28

问题


I have 2 computers behind NAT.

To make a connection between them I use an UDP hole punching protocol.

It works.

Now I want to send files by this tunnel. I guess I must have a TCP tunnel between those 2 computers.

Both firewall DENY all TCP trafic.

Is it possible ?

If not, is there any other solution ? How does Skype sends files by this UDP Tunnel ?


回答1:


You can use UDT protocol for file transfer after it gets hole punched. UDT is made on top of UDP. It has the reliability of TCP and fastness of UDP.

UDT has an open source implementation.

http://udt.sourceforge.net



来源:https://stackoverflow.com/questions/27842920/send-files-after-udp-hole-punching

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