如何以最大吞吐量实现可靠的UDP数据传输..? [英] How to achieve reliable UDP data transfer with a maximum throughput ..?

查看:195
本文介绍了如何以最大吞吐量实现可靠的UDP数据传输..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

How to achieve reliable UDP Data Transfer with a maximum throughput ..?? 





我的尝试:



是但没有结果有数据丢失



What I have tried:

yes but no result there was a data loss

推荐答案

你没有。 UDP不保证交付,也不保证数据包在接收方出现,并且存在重复数据包的可能性!这是没有办法。



如果你想要可靠的数据传输,UDP是最可靠的传输方式。你将不得不使用TCP。
You don't. UDP has no guarantees of delivery nor in the order that packets show up at the receiver and the possibility of duplicate packets also exists! There is NO WAY around this.

If you want "reliable" data transfer, UDP is the LEAST reliable transport there is. You're going to have to use TCP instead.


感谢Dave的回复,



是否有可能降低吞吐量并提高数据的可靠性
Thanks Dave for reply,

is it possible to reduce the throughput and increase the reliability of data


这篇关于如何以最大吞吐量实现可靠的UDP数据传输..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆