• 大小: 0.34M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-02
  • 语言: C#
  • 标签: tcp  Socket  server  Csharp  

资源简介

C# TCP Server, cliennt examples

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using Proshot.UtilityLib.CommonDialogs;

namespace ChatClient
{
    public partial class frmLogin : Form
    {
        private bool canClose;
        private Proshot.CommandClient.CMDClient client;
        public Proshot.CommandClient.CMDClient Client
        {
            get { return client; }
        }
        public frmLogin(IPAddress serverIPint serverPort)
        {
            InitializeComponent();
            this.canClose = false;
            Control.CheckForIllegalCrossThreadCalls = false;
            this.client = new Proshot.CommandClient.CMDClient(serverIP  serverPort 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2006-01-31 10:08  CommandServer\
     目录           0  2006-01-31 12:14  CommandServer\CommandServer\
     目录           0  2006-01-31 10:03  CommandServer\CommandServer\bin\
     目录           0  2006-01-31 12:14  CommandServer\CommandServer\bin\Debug\
     文件       12289  2006-01-31 11:08  CommandServer\CommandServer\ClientManager.cs
     文件        4148  2006-01-23 17:34  CommandServer\CommandServer\Command.cs
     文件        2270  2006-01-31 10:03  CommandServer\CommandServer\CommandServer.csproj
     文件        3679  2006-01-26 15:46  CommandServer\CommandServer\Enums.cs
     文件        2979  2006-01-31 11:01  CommandServer\CommandServer\EventArgs.cs
     目录           0  2006-01-31 08:34  CommandServer\CommandServer\Properties\
     文件        1436  2006-01-22 20:37  CommandServer\CommandServer\Properties\AssemblyInfo.cs
     文件        1421  2006-01-31 10:03  CommandServer\CommandServer.sln
     目录           0  2006-01-31 10:18  CommandServer\ConsoleServer\
     目录           0  2006-01-31 08:34  CommandServer\ConsoleServer\bin\
     目录           0  2006-01-31 12:14  CommandServer\ConsoleServer\bin\Debug\
     文件        2202  2006-01-20 11:03  CommandServer\ConsoleServer\ConsoleServer.csproj
     目录           0  2006-01-31 08:34  CommandServer\ConsoleServer\obj\
     目录           0  2006-01-31 11:16  CommandServer\ConsoleServer\obj\Debug\
     目录           0  2006-01-31 08:34  CommandServer\ConsoleServer\obj\Debug\Refactor\
     文件        3171  2006-01-31 11:16  CommandServer\ConsoleServer\obj\Debug\ResolveAssemblyReference.cache
     目录           0  2006-01-31 08:34  CommandServer\ConsoleServer\obj\Debug\TempPE\
     文件        8910  2006-01-31 10:18  CommandServer\ConsoleServer\Program.cs
     目录           0  2006-01-31 08:34  CommandServer\ConsoleServer\Properties\
     文件        1274  2006-01-20 11:01  CommandServer\ConsoleServer\Properties\AssemblyInfo.cs
     目录           0  2006-01-31 12:07  CommandClient\
     目录           0  2006-01-31 12:13  CommandClient\ChatClient\
     目录           0  2006-01-31 08:34  CommandClient\ChatClient\bin\
     目录           0  2006-01-31 12:14  CommandClient\ChatClient\bin\Debug\
     文件        5234  2006-01-30 16:10  CommandClient\ChatClient\ChatClient.csproj
     文件         557  2006-01-30 16:10  CommandClient\ChatClient\ChatClient.csproj.user
     目录           0  2006-01-31 12:08  CommandClient\ChatClient\CSS\
............此处省略60个文件信息

评论

共有 条评论