• 大小: 0.10M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 局域网  通讯  

资源简介

实现局域网通讯,用户上线显示

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using ITalkTradition.Code;


namespace ITalkTradition
{
    public partial class FrmTalk : Form
    {
        #region Field

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

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

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

        private LanInfo talkLan = null;
        /// 
        /// 当前用户主机
        /// 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        358  2012-12-06 16:20  ITalkTradition\ITalkTradition\App.config

     文件      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

     文件       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

     文件       2863  2012-12-06 16:40  ITalkTradition\ITalkTradition\FrmUser.Designer.cs

     文件       5817  2012-12-06 16:39  ITalkTradition\ITalkTradition\FrmUser.resx

     文件       4663  2012-12-06 16:28  ITalkTradition\ITalkTradition\ITalkTradition.csproj

     文件       7115  2012-12-06 16:28  ITalkTradition\ITalkTradition\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1251  2012-12-06 16:41  ITalkTradition\ITalkTradition\obj\Debug\ITalkTradition.csproj.FileListAbsolute.txt

     文件        909  2012-12-06 16:40  ITalkTradition\ITalkTradition\obj\Debug\ITalkTradition.csproj.GenerateResource.Cache

     文件       1875  2012-12-06 16:28  ITalkTradition\ITalkTradition\obj\Debug\ITalkTradition.csprojResolveAssemblyReference.cache

     文件      29696  2012-12-06 16:40  ITalkTradition\ITalkTradition\obj\Debug\ITalkTradition.exe

............此处省略25个文件信息

评论

共有 条评论