• 大小: 0.20M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Socket  客户端  服务端  c  

资源简介

Socket服务端与客户端

资源截图

代码片段和文件信息

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

namespace TCPClient
{
    /// 
    /// 异步TCP客户端
    /// 

    public class AsyncTcpClient : IDisposable
    {
        #region Fields

        private TcpClient tcpClient;
        private bool disposed = false;
        private int retries = 0;

        #endregion

        #region Ctors

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器终结点
        public AsyncTcpClient(IPEndPoint remoteEP)
            : this(new[] { remoteEP.Address } remoteEP.Port)
        {
        }

        /// 

  

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

     文件      14267  2016-03-09 13:39  C#Socket服务器源码\TCPClient\AsyncTcpClient\AsyncTcpClient.cs

     文件       2568  2016-03-09 15:24  C#Socket服务器源码\TCPClient\AsyncTcpClient\AsyncTcpClient.csproj

     文件      13312  2016-03-09 15:25  C#Socket服务器源码\TCPClient\AsyncTcpClient\bin\Debug\AsyncTcpClient.dll

     文件      36352  2016-03-09 15:25  C#Socket服务器源码\TCPClient\AsyncTcpClient\bin\Debug\AsyncTcpClient.pdb

     文件        402  2016-03-09 13:26  C#Socket服务器源码\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.csproj.FileListAbsolute.txt

     文件      13312  2016-03-09 15:25  C#Socket服务器源码\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.dll

     文件      36352  2016-03-09 15:25  C#Socket服务器源码\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.pdb

     文件       5661  2016-03-09 22:18  C#Socket服务器源码\TCPClient\AsyncTcpClient\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1370  2016-03-09 10:29  C#Socket服务器源码\TCPClient\AsyncTcpClient\Properties\AssemblyInfo.cs

     文件        977  2016-03-09 10:30  C#Socket服务器源码\TCPClient\AsyncTcpClient\TcpDatagramReceivedEventArgs.cs

     文件       1720  2016-03-09 10:30  C#Socket服务器源码\TCPClient\AsyncTcpClient\TcpServerConnectedEventArgs.cs

     文件       1726  2016-03-09 10:30  C#Socket服务器源码\TCPClient\AsyncTcpClient\TcpServerDisconnectedEventArgs.cs

     文件       2020  2016-03-09 10:30  C#Socket服务器源码\TCPClient\AsyncTcpClient\TcpServerExceptionOccurredEventArgs.cs

     文件      13312  2016-03-09 15:25  C#Socket服务器源码\TCPClient\TCPClient\bin\Debug\AsyncTcpClient.dll

     文件      36352  2016-03-09 15:25  C#Socket服务器源码\TCPClient\TCPClient\bin\Debug\AsyncTcpClient.pdb

     文件      12800  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\bin\Debug\TCPClient.exe

     文件      42496  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\bin\Debug\TCPClient.pdb

     文件      11600  2016-03-09 23:16  C#Socket服务器源码\TCPClient\TCPClient\bin\Debug\TCPClient.vshost.exe

     文件       5230  2016-03-09 22:31  C#Socket服务器源码\TCPClient\TCPClient\ClientForm.cs

     文件       7336  2016-03-09 15:51  C#Socket服务器源码\TCPClient\TCPClient\ClientForm.Designer.cs

     文件       5817  2016-03-08 18:50  C#Socket服务器源码\TCPClient\TCPClient\ClientForm.resx

     文件       2152  2016-03-08 17:38  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6376  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        680  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\GenerateResource.read.1.tlog

     文件       2306  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\GenerateResource.write.1.tlog

     文件      21681  2016-03-09 22:27  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\ResolveAssemblyReference.cache

     文件        180  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\TCPClient.ClientForm.resources

     文件        180  2016-03-09 15:25  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\TCPClient.Clienttest.resources

     文件       2028  2016-03-09 23:16  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\TCPClient.csproj.FileListAbsolute.txt

     文件      12800  2016-03-09 23:12  C#Socket服务器源码\TCPClient\TCPClient\obj\x86\Debug\TCPClient.exe

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

评论

共有 条评论