• 大小: 0.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: Socket  c  t  s  a  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;

namespace Client
{
    class ClientByTcp
    {
        private static readonly IDictionary ClientDict = new Dictionary();
        private static readonly object ClientDictLock = new object();
        private const int LockTimeOut = 5 * 1000;
        private static readonly IList MsgList = new List();
        private static readonly Random MsgRandom = new Random();

        private static void Main(string[] args)
        {
            try
            {
                InitMsg();
                int clientNum;
                IPAddress address;
               

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

     文件       2437  2014-03-03 13:20  Communication\Client\Client.csproj

     文件      10377  2014-03-03 13:20  Communication\Client\ClientByTcp.cs

     文件       1344  2014-02-26 16:54  Communication\Client\Properties\AssemblyInfo.cs

     文件       3427  2014-03-03 12:43  Communication\Communication.sln

    ..A..H.     39936  2014-03-03 13:30  Communication\Communication.suo

     文件       1344  2014-02-26 11:39  Communication\Server\Properties\AssemblyInfo.cs

     文件       2437  2014-03-03 13:20  Communication\Server\Server.csproj

     文件       9464  2014-03-03 13:20  Communication\Server\ServerByTcp.cs

     文件       7691  2014-03-03 13:21  Communication\Udp\Program.cs

     文件       1338  2014-03-03 12:42  Communication\Udp\Properties\AssemblyInfo.cs

     文件       2427  2014-03-03 12:42  Communication\Udp\Udp.csproj

     目录          0  2014-02-26 16:54  Communication\Client\Properties

     目录          0  2014-02-26 11:39  Communication\Server\Properties

     目录          0  2014-03-03 13:30  Communication\Udp\bin

     目录          0  2014-03-03 12:42  Communication\Udp\Properties

     目录          0  2014-03-03 13:30  Communication\Client

     目录          0  2014-03-03 13:30  Communication\Server

     目录          0  2014-03-03 13:30  Communication\Udp

     目录          0  2014-03-03 12:42  Communication

----------- ---------  ---------- -----  ----

                82222                    19


评论

共有 条评论