• 大小: 0.16M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  p2p  c  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using P2P.WellKnown;
using System.Threading;
using P2P.WellKnown.S2C;

namespace P2P.WellKnown
{
    /// 

    /// Client 的摘要说明。

    /// 


    public class Client : IDisposable
    {

        private const int MAXRETRY = 10;

        private UdpClient client;

        private IPEndPoint hostPoint;

        private IPEndPoint remotePoint;

        private UserCollection userList;

        private string myName;

        private bool ReceivedACK;

        private Thread listenThread;



        public Client(string serverIP)
        {

            ReceivedACK = false;

            remotePoint = new IP

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

     文件       9216  2012-12-19 16:00  P2PDemo\P2PClient\bin\Debug\P2P.P2PClient.exe

     文件      19968  2012-12-19 16:00  P2PDemo\P2PClient\bin\Debug\P2P.P2PClient.pdb

     文件      11600  2012-12-19 15:40  P2PDemo\P2PClient\bin\Debug\P2P.P2PClient.vshost.exe

     文件      12288  2012-12-19 15:56  P2PDemo\P2PClient\bin\Debug\P2P.WellKnown.dll

     文件      36352  2012-12-19 15:56  P2PDemo\P2PClient\bin\Debug\P2P.WellKnown.pdb

     文件       9927  2012-12-19 16:00  P2PDemo\P2PClient\Client.cs

     文件       5899  2015-02-05 17:00  P2PDemo\P2PClient\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       9216  2012-12-19 16:00  P2PDemo\P2PClient\obj\x86\Debug\P2P.P2PClient.exe

     文件      19968  2012-12-19 16:00  P2PDemo\P2PClient\obj\x86\Debug\P2P.P2PClient.pdb

     文件        487  2012-12-19 15:54  P2PDemo\P2PClient\obj\x86\Debug\P2PClient.csproj.FileListAbsolute.txt

     文件       7998  2012-12-19 15:29  P2PDemo\P2PClient\obj\x86\Debug\ResolveAssemblyReference.cache

     文件       2699  2012-12-19 16:00  P2PDemo\P2PClient\P2PClient.csproj

     文件        745  2012-12-19 15:18  P2PDemo\P2PClient\Program.cs

     文件       1350  2012-12-19 12:01  P2PDemo\P2PClient\Properties\AssemblyInfo.cs

     文件      13824  2012-12-17 19:39  P2PDemo\P2PDemo\bin\Debug\P2PDemo.exe

     文件      26112  2012-12-17 19:39  P2PDemo\P2PDemo\bin\Debug\P2PDemo.pdb

     文件      11600  2012-12-19 11:38  P2PDemo\P2PDemo\bin\Debug\P2PDemo.vshost.exe

     文件        490  2010-03-17 22:39  P2PDemo\P2PDemo\bin\Debug\P2PDemo.vshost.exe.manifest

     文件       5861  2012-09-15 17:10  P2PDemo\P2PDemo\Form1.cs

     文件      11222  2012-09-15 12:18  P2PDemo\P2PDemo\Form1.Designer.cs

     文件       6007  2012-09-15 11:41  P2PDemo\P2PDemo\Form1.resx

     文件       4501  2012-12-17 19:37  P2PDemo\P2PDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6387  2015-02-05 17:00  P2PDemo\P2PDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        224  2012-09-15 11:44  P2PDemo\P2PDemo\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        744  2012-09-15 11:44  P2PDemo\P2PDemo\obj\x86\Debug\GenerateResource.write.1.tlog

     文件        643  2012-12-19 11:38  P2PDemo\P2PDemo\obj\x86\Debug\P2PDemo.csproj.FileListAbsolute.txt

     文件      13824  2012-12-17 19:39  P2PDemo\P2PDemo\obj\x86\Debug\P2PDemo.exe

     文件        180  2012-09-15 11:44  P2PDemo\P2PDemo\obj\x86\Debug\P2PDemo.Form1.resources

     文件      26112  2012-12-17 19:39  P2PDemo\P2PDemo\obj\x86\Debug\P2PDemo.pdb

     文件        180  2012-09-15 11:42  P2PDemo\P2PDemo\obj\x86\Debug\P2PDemo.Properties.Resources.resources

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

评论

共有 条评论