找回密码
 立即注册
传输牢靠UDPyou | 系统编程 2022-10-04 136 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
大家都清理,假如用TCP传输文件的话,是很简单的,基本都不必操心会丢包,除非是网络坏了,就得重来。用UDP的话,由于UDP是不牢靠的,所以用它传输文件,要确保不丢包,就得大家自己写额定的代码来保障了。这篇文章就说说如何确保牢靠传输。
用UDP实现牢靠文件传输.doc

(Everyone cleans up. If you use TCP to transfer files, it is very simple. You don't have to worry about losing packets. Unless the network is broken, you have to start again. If you use UDP, because UDP is not reliable, you must write your own rated code to ensure that you will not lose packets when you use it to transfer files. This article talks about how to ensure reliable transmission.
Secure file transfer.doc with UDP)

[下载]11072348208.rar




上一篇:Lucene
下一篇:struts2-2.1.8.1常量配置