登录
首页 » C# » TCP UDP测试工具 模拟发送接收数据例子

TCP UDP测试工具 模拟发送接收数据例子

于 2014-11-04 发布
0 233
下载积分: 1 下载次数: 0

代码说明:

TCP UDP测试工具 模拟发送接收数据例子

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

发表评论

0 个回复

  • c# 数字转换成 bool类型值 0,1,2,-1 普及下
    总结:convert.tobool(0)==false, 非0 则均为true
    2014-06-27下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • C# 批量重命名文件 实例源码下载
    C# 批量重命名文件 实例源码下载
    2013-09-20下载
    积分:1
  • C# 图片显示器
    【实例简介】可以设置图片播放等待时间
    2021-11-30 00:45:45下载
    积分:1
  • Cefsharp浏览器 V63 demo.zip
    Cefsharp浏览器使用过程中困扰到不少的新手,新集成的cefsharpV63版本供大家使用,支持MP4 MP3等,下载即可使用。 也可以单独引用到自己项目中,将下载下来的文件解压,然后binDebug下文件全部复制到自己程序binDebug目录。 项目右键"添加引用",找到: CefSharp.dll CefSharp.Core.dll CefSharp.WinForms.dll 添加引用到项目。
    2019-08-05下载
    积分:1
  • c# 批量验证qq邮箱是否真实存在
    c# 批量验证qq邮箱是否真实存在
    2013-12-25下载
    积分:1
  • log4net 在wpf中记录全局错误 例子
    log4net 在wpf中记录全局错误 例子
    2015-06-10下载
    积分:1
  • 串口运动控制上位机/C#串口助手源码
    C#串口运动控制上位机源码,主要用于运动控制调试,比如在"M "栏输入1000,串口输出M 1000,,在"M-"输入1000,串口输出M-1000;下位机可根据指令进行区别驱动电机方向运动 串口运动控制上位机 └── 马达串口运动控制上位机     ├── SerialCommunicate     │   ├── Form1.Designer.cs     │   ├── Form1.cs     │   ├── Form1.resx     │   ├── Program.cs     │   ├── Properties     │   │   ├── AssemblyInfo.cs     │   │   ├── Resources.Designer.cs     │   │   ├── Resources.resx     │   │   ├── Settings.Designer.cs     │   │   └── Settings.settings     │   ├── SerialCommunicate.csproj     │   ├── bin     │   │   ├── Debug     │   │   │   ├── SerialCommunicate.exe     │   │   │   ├── SerialCommunicate.pdb     │   │   │   ├── SerialCommunicate.vshost.exe     │   │   │   └── SerialCommunicate.vshost.exe.manifest     │   │   └── Release     │   │       ├── SerialCommunicate.exe     │   │       ├── SerialCommunicate.pdb     │   │       ├── SerialCommunicate.vshost.exe     │   │       └── SerialCommunicate.vshost.exe.manifest     │   └── obj     │       ├── Debug     │       │   ├── DesignTimeResolveAssemblyReferences.cache     │       │   ├── DesignTimeResolveAssemblyReferencesInput.cache     │       │   ├── SerialCommunicate.Form1.resources     │       │   ├── SerialCommunicate.Properties.Resources.resources     │       │   ├── SerialCommunicate.csproj.FileListAbsolute.txt     │       │   ├── SerialCommunicate.csproj.GenerateResource.Cache     │       │   ├── SerialCommunicate.csprojResolveAssemblyReference.cache     │       │   ├── SerialCommunicate.exe     │       │   ├── SerialCommunicate.pdb     │       │   └── TempPE     │       └── Release     │           ├── 3ed801191daeeafe4f32720599873cc71f6b.png     │           ├── DesignTimeResolveAssemblyReferences.cache     │           ├── DesignTimeResolveAssemblyReferencesInput.cache     │           ├── QIcon Changer.exe     │           ├── SerialCommunicate.Form1.resources     │           ├── SerialCommunicate.Properties.Resources.resources     │           ├── SerialCommunicate.csproj.FileListAbsolute.txt     │           ├── SerialCommunicate.csproj.GenerateResource.Cache     │           ├── SerialCommunicate.csprojResolveAssemblyReference.cache     │           ├── SerialCommunicate.exe     │           ├── SerialCommunicate.pdb     │           └── TempPE     ├── SerialCommunicate.sln     └── SerialCommunicate.v11.suo 11 directories, 40 files
    2021-08-15 00:31:13下载
    积分:1
  • DevExpress控件常用属性讲解
    DevExpress控件常用属性讲解
    2014-04-25下载
    积分:1
  • sqlit3 插入数据库可用完整实例源码
    sqlit3 插入数据库可用完整实例源码
    2015-03-02下载
    积分:1
  • 696516资源总数
  • 106571会员总数
  • 2今日下载