使用UDP数据包进行数据传输 [英] Data transfer using UDP packets

查看:104
本文介绍了使用UDP数据包进行数据传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的情况是:-
我想从一台电脑向另一台电脑发送数据(以点的形式绘制图表(饼形图,条形图等)),并在目的地接收到数据后,保存并绘制图表.
但是我无法一次性发送多个数据,我不得不一次又一次地重新发送它,因为我失去了目标节点上的总和...
即时通讯没有任何提示如何执行.请立即提出任何建议.
我已经在Windows窗体上完成了所有这些操作.我建议您使用TCP而不是UDP,因为UDP数据包不能保证传送.


My scenario is:-
I want to send data (in forms of points to draw a chart(pie,bar etc)) from one pc to another and upon receiving data at destination,save it and draw chart.
but im not able to send multiple data in one go i have to resend it again and again,becoz of which im loosing sum points on destination nodes...
im not getting any clue how to do it.plz any suggestion its vry urgent.
i have done all this on windows forms..

解决方案

Without seeing some of the code that is causing the problem it is impossible to guess what may be going wrong. I would suggest you use TCP rather than UDP, as UDP packets do not have guaranteed delivery.


这篇关于使用UDP数据包进行数据传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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