登录
首页 » c++ » QT UDP 简单数据传输

QT UDP 简单数据传输

于 2022-10-18 发布 文件大小:1.54 MB
0 108
下载积分: 2 下载次数: 1

代码说明:

UDP通信协议下的C/S架构的简单数据传输

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CT_ART
    计算机断层成像技术中最经典的算法之一,是CT算法开发者的入门级算法。(Computer tomography is one of the most classic algorithm, is an entry-level algorithm CT algorithm developers.)
    2015-06-13 18:56:18下载
    积分:1
  • wpf滑动效果 实例源码
    鼠标拖动时 控件滑动 截图: 核心代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.Windows.Media.Animation;namespace FlashPrac2{ /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } /// /// 完成缓冲效果 /// /// 起始位置 /// 目标位置 /// 加速加速度 /// 减速加速度 /// 持续时间 private void DoMove(DependencyProperty dp, double to, double ar, double dr, double duration) { DoubleAnimation doubleAnimation = new DoubleAnimation();//创建双精度动画对象 doubleAnimation.To = to;//设置动画的结束值 doubleAnimation.Duration = TimeSpan.FromSeconds(duration);//设置动画时间线长度 doubleAnimation.AccelerationRatio = ar;//动画加速 doubleAnimation.DecelerationRatio = dr;//动画减速 doubleAnimation.FillBehavior = FillBehavior.HoldEnd;//设置动画完成后执行的操作 grdTransfer.BeginAnimation(dp, doubleAnimation);//设置动画应用的属性并启动动画 } private double pressedX; /// /// 点击鼠标,记录鼠标单击的位置 /// /// /// private void grdTest_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ////获得鼠标点击的X坐标 pressedX = e.GetPosition(cvsGround).X; } ////鼠标释放时的操作 private void grdTest_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { double transferLeft = Convert.ToDouble(grdTransfer.GetValue(Canvas.LeftProperty)); //btn1.Content = transferLeft.ToString(); if (transferLeft > 0) { transferLeft = 0; } if (this.Width - transferLeft > cvsGround.Width) { transferLeft = this.Width - cvsGround.Width; } ////获得鼠标释放时的位置 double releasedX = e.GetPosition(cvsGround).X; ////获得距离间隔 double interval = releasedX - pressedX; pressedX = 0; ////计算出传送带要的目标位置 double to = transferLeft interval; ////移动 //btn1.Content = transferLeft.ToString() " " to.ToString(); // btn1.Content = transferLeft.ToString() " " to.ToString(); DoMove(Canvas.LeftProperty, to, 0.1, 0.5, 0.5); } }}
    2014-06-24下载
    积分:1
  • is31fl373x_common
    is31fl3730 is31fl3731 芯片驱动公共函数(is31fl3730 is31fl3731 chip common function)
    2021-02-14 09:49:49下载
    积分:1
  • Note8_Dcm_debug_note
    汽车开放式架构Autosar 中的诊断通信模块的调试笔记。(The doc is the debug note for the Dcm moude in the AUTOSAR .)
    2014-08-12 17:30:43下载
    积分:1
  • n!
    这个程序实现了大数的输出,n的阶层,包括100阶层以上(This program to achieve the output of large numbers, n class, including 100 class above)
    2013-09-22 18:28:06下载
    积分:1
  • DrawForm
    VC自绘的漂亮窗体界面实例,DrawForm源码,用VC自绘了一个漂亮的登录窗口界面,不知道有没有人感兴趣,我觉得这个技术学会了对于美化些窗口界面还是有帮助的。自绘技术也是值得研究的。(VC self-painted beautiful form interface instance, DrawForm, source, painted with VC and a nice login window interface, do not know no one was interested, I think this technology is learned to help beautify window interface. Self-drawn, is worthy of study.)
    2013-05-13 11:45:06下载
    积分:1
  • 小数点显示 小数点显示子程序,我原是用在相位测试仪上的,不过其它地方若要用可以直接调。...
    小数点显示 小数点显示子程序,我原是用在相位测试仪上的,不过其它地方若要用可以直接调。-decimal point display subroutine show decimal point, I was used in the phase of the test instrument. But if used elsewhere can be directly transferred.
    2022-03-05 07:32:39下载
    积分:1
  • 频繁项挖掘算法FP―Growth算法的C#实现
    频繁项挖掘算法FP―Growth算法的C#实现 FP增长算法中频繁项集挖掘中的一个。它可用于查找数据库中设置的频繁项目。它会以树结构格式的输出。它比Apriori算法,因为没有候选人的产生更有效率。强关联规则生成的执行输出
    2022-11-13 00:15:04下载
    积分:1
  • OpenBCI_Processing-master
    这是一份脑电分析软件的源码,适用于OpenBci(This is the source of EEG analysis software,use for OpenBci)
    2018-10-25 10:06:25下载
    积分:1
  • wpf照片墙(带有3d效果)
    说明:  WPF照片浏览的源码,很炫酷的动态效果,可以参考做自己的照片墙(With a variety of styles of controls, powerful open source code, you can refer to their own beautiful interface WPF photo browsing source code, very dazzling dynamic effects, you can refer to do your own photo wall)
    2020-06-24 04:20:01下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载