资源简介

客户端的源码在这里 https://www.haolizi.net/example/view_19031.html


满足小伙伴的要求,给出了服务端,希望一起学习

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsServerfile
{
    public partial class Form1 : Form
    {
        Thread threadWatch = null; // 负责监听客户端连接请求的 线程;
        Socket socketWatch = null;
        delegate void myInvoke(string msg);//定义一个委托
        Dictionary dict = new Dictionary();
        Dictionary dictThread = new Dictionary();

        public Form1()
        {
            InitializeComponent();
        }

        priv

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\
     文件       43520  2019-03-11 10:13  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\.suo
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\sqlite3\
     文件           0  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\sqlite3\db.lock
     文件        4096  2019-03-06 13:47  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\sqlite3\storage.ide
     文件       32768  2019-03-11 10:11  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\sqlite3\storage.ide-shm
     文件     1936432  2019-03-07 09:42  WindowsFormsServerfile\.vs\WindowsFormsServerfile\v15\Server\sqlite3\storage.ide-wal
     文件        1164  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile.sln
     目录           0  2019-03-07 09:48  WindowsFormsServerfile\WindowsFormsServerfile\
     文件         189  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\App.config
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\bin\
     目录           0  2019-03-06 15:09  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\
     目录           0  2019-03-07 09:44  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\RecFile\
     文件        1011  2019-03-06 15:10  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\RecFile\crcrc.js
     文件          19  2019-03-07 09:44  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\RecFile\DownLoadRecord.ini
     文件        1534  2019-03-06 15:18  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\RecFile\image_2.png
     文件       15872  2019-03-07 09:43  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\WindowsFormsServerfile.exe
     文件         189  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\WindowsFormsServerfile.exe.config
     文件       38400  2019-03-07 09:43  WindowsFormsServerfile\WindowsFormsServerfile\bin\Debug\WindowsFormsServerfile.pdb
     文件       11381  2019-03-07 09:48  WindowsFormsServerfile\WindowsFormsServerfile\Form1.cs
     文件        9086  2019-03-06 15:19  WindowsFormsServerfile\WindowsFormsServerfile\Form1.Designer.cs
     文件        5817  2019-03-06 15:19  WindowsFormsServerfile\WindowsFormsServerfile\Form1.resx
     目录           0  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\obj\
     目录           0  2019-03-11 10:11  WindowsFormsServerfile\WindowsFormsServerfile\obj\Debug\
     文件        1443  2019-03-11 10:11  WindowsFormsServerfile\WindowsFormsServerfile\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7208  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2019-03-06 13:47  WindowsFormsServerfile\WindowsFormsServerfile\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
............此处省略18个文件信息

评论

共有 条评论