• 大小: 1.35M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-06-02
  • 语言: 其他
  • 标签: Socket  ck  OC  系统  

资源简介

Socket自制系统

资源截图

代码片段和文件信息

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

namespace FKClient
{
    public static class  DataHandel
    {
        public static void Handel(string mes)
        {
            string[] data = mes.Split(‘|‘);
            //Console.WriteLine();
            switch (data[0])
            {
                case “Welcome“:
                    Welcome(data);
                    break;
                case “SetMouse“:
                    SetMouse(data);
                    break;
                case “Mes“:
                    Mes(data[1]);
                    break;
                default:
                    MessageBox.Show(“收到了未知的协议:{0}“ mes);
                    break;
            }
        }

        public static void Mes(string mes)
        {
            MessageBox.Show(mes);
        }
        public static void Welcome(string[] data)
        {
            if(data[1].Equals(“Success“))
            {
                //MessageBox.Show(“服务器相互连接已经建立“);
            }
        }
        private static void SetMouse(string[] data)
        {
            DesktopSetter.MoveMouseToPoint(new Point(int.Parse(data[1])int.Parse(data[2])));
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-09-12 12:30  FKClient\
     目录           0  2020-09-12 12:30  FKClient\.vs\
     目录           0  2020-09-12 12:30  FKClient\.vs\FKClient\
     目录           0  2020-09-12 12:30  FKClient\.vs\FKClient\v16\
     文件       66560  2020-09-20 15:47  FKClient\.vs\FKClient\v16\.suo
     文件        1129  2020-09-12 12:30  FKClient\FKClient.sln
     目录           0  2020-09-20 15:47  FKClient\FKClient\
     文件         189  2020-09-12 12:29  FKClient\FKClient\App.config
     目录           0  2020-09-13 16:07  FKClient\FKClient\bin\
     目录           0  2020-09-12 12:46  FKClient\FKClient\bin\Debug\
     文件       80384  2020-09-20 15:43  FKClient\FKClient\bin\Debug\FKClient.exe
     文件         189  2020-09-12 12:29  FKClient\FKClient\bin\Debug\FKClient.exe.config
     文件       50688  2020-09-20 15:43  FKClient\FKClient\bin\Debug\FKClient.pdb
     目录           0  2020-09-13 16:07  FKClient\FKClient\bin\Release\
     文件        1401  2020-09-14 19:49  FKClient\FKClient\DataHandel.cs
     文件        2267  2020-09-19 19:44  FKClient\FKClient\DesktopSetter.cs
     文件        3846  2020-09-13 16:16  FKClient\FKClient\FKClient.csproj
     文件        2133  2020-09-20 15:47  FKClient\FKClient\Form1.cs
     文件        5674  2020-09-19 17:07  FKClient\FKClient\Form1.Designer.cs
     文件       95497  2020-09-19 17:07  FKClient\FKClient\Form1.resx
     目录           0  2020-09-12 12:29  FKClient\FKClient\obj\
     目录           0  2020-09-20 15:44  FKClient\FKClient\obj\Debug\
     文件        1435  2020-09-14 19:36  FKClient\FKClient\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7313  2020-09-13 16:07  FKClient\FKClient\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件          42  2020-09-13 16:16  FKClient\FKClient\obj\Debug\FKClient.csproj.CoreCompileInputs.cache
     文件        1740  2020-09-20 15:44  FKClient\FKClient\obj\Debug\FKClient.csproj.FileListAbsolute.txt
     文件        1053  2020-09-19 17:07  FKClient\FKClient\obj\Debug\FKClient.csproj.GenerateResource.cache
     文件         424  2020-09-20 15:44  FKClient\FKClient\obj\Debug\FKClient.csprojAssemblyReference.cache
     文件       80384  2020-09-20 15:43  FKClient\FKClient\obj\Debug\FKClient.exe
     文件       60148  2020-09-19 17:07  FKClient\FKClient\obj\Debug\FKClient.Form1.resources
     文件       50688  2020-09-20 15:43  FKClient\FKClient\obj\Debug\FKClient.pdb
............此处省略116个文件信息

评论

共有 条评论