• 大小: 0.31M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: C#  通讯  c  UDP  d  

资源简介

C#udp通讯

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Net;
using System.Net.Sockets;
using ITalk.Code;

namespace ITalk
{
    public partial class FrmTalk : DevExpress.XtraEditors.XtraForm
    {
        #region Field

        /// 
        /// 自己的socket 充当服务器  接收消息
        /// 

        private SocketUdpServer selfSocket = null;
        /// 
        /// 对话的socket
        /// 

        private SocketUdpClient tallSocket = null;
        /// 
        /// 谈话对方的局域网信息
        /// 

        private LanInfo talkLan = null;
        /// 

        /// 当前用户主机

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-12-03 16:38  ITalk\
     目录           0  2012-12-06 16:14  ITalkTradition\
     目录           0  2012-12-06 16:23  ITalkTradition\ITalkTradition\
     文件         932  2012-12-06 16:14  ITalkTradition\ITalkTradition.sln
     文件       55808  2012-12-06 17:30  ITalkTradition\ITalkTradition.v11.suo
     文件         358  2012-12-06 16:20  ITalkTradition\ITalkTradition\App.config
     目录           0  2012-12-06 16:21  ITalkTradition\ITalkTradition\bin\
     目录           0  2012-12-06 16:28  ITalkTradition\ITalkTradition\bin\Debug\
     文件       29696  2012-12-06 16:40  ITalkTradition\ITalkTradition\bin\Debug\ITalkTradition.exe
     文件         358  2012-12-06 16:20  ITalkTradition\ITalkTradition\bin\Debug\ITalkTradition.exe.config
     文件       91648  2012-12-06 16:40  ITalkTradition\ITalkTradition\bin\Debug\ITalkTradition.pdb
     文件       21464  2012-12-06 16:41  ITalkTradition\ITalkTradition\bin\Debug\ITalkTradition.vshost.exe
     文件         358  2012-12-06 16:20  ITalkTradition\ITalkTradition\bin\Debug\ITalkTradition.vshost.exe.config
     目录           0  2012-12-06 16:21  ITalkTradition\ITalkTradition\bin\Release\
     目录           0  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\
     文件        4300  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\Datagram.cs
     文件        1329  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\GetConfig.cs
     文件        1281  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\LanInfo.cs
     文件         919  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\LanList.cs
     文件        6083  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\LanSearch.cs
     文件         849  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\MessageInfo.cs
     文件        2110  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\QueueMessage.cs
     文件        4812  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\SocketClient.cs
     文件        5450  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\SocketServer.cs
     文件        8052  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\SocketTalk.cs
     文件        2911  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\SocketUdpClient.cs
     文件        8659  2012-12-06 16:20  ITalkTradition\ITalkTradition\Code\SocketUdpServer.cs
     文件        6175  2012-12-06 16:40  ITalkTradition\ITalkTradition\FrmTalk.cs
     文件        3330  2012-12-06 16:40  ITalkTradition\ITalkTradition\FrmTalk.Designer.cs
     文件        5817  2012-12-06 16:40  ITalkTradition\ITalkTradition\FrmTalk.resx
     文件        5950  2012-12-06 16:39  ITalkTradition\ITalkTradition\FrmUser.cs
............此处省略113个文件信息

评论

共有 条评论