如何使用UDP传输文件 [英] How to transfer files with UDP
本文介绍了如何使用UDP传输文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题是:
如何在UDP中传输(大)文件.因为我无法使用UDP传输大于50 kb的图像.我正在使用C#.
请帮助我
感谢
My question is:
How can I transfer a (large) file in UDP. Because I can''t transfer an image lager than 50 kb with UDP. I am using C#.
Please help me
thanks
推荐答案
我阅读的内容越多此 [ ^ ],我认为您在做什么
The more I read this[^], the more I think that what you''re trying to do sounds a bit nuts.
您的选择看起来不对,UDP
这不可靠,您知道.为什么不使用TCP
呢?
好的,您需要多播.因此,您必须照顾丢失和重复的数据包.
:-)
Your choice looks wrong,UDP
it''s not reliable, you know. Why don''t you useTCP
, instead?
OK, you need multicasting. So you have to take care of lost and duplicated packets.
:-)
您可以访问www.goodudx.com,它可以使用udp传输文件.
udx是tcp-over-udp.
you can look at www.goodudx.com,it can trans file with udp.
udx is tcp-over-udp.
这篇关于如何使用UDP传输文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文