资源简介

c# TCP分包收发文件,很稳定.已经应用在实际项目中

资源截图

代码片段和文件信息

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 System.Threading;
using System.Net.Sockets;

using System.IO;

namespace TestSocketServerHSTF
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();


            //不显示出dataGridView1的最后一行空白
            dataGridView1.AllowUserToAddRows = false;
        }

        private void btnStartServer_Click(object sender EventArgs e)
        {
            //开启接收线程
            Thread TempThread = new Thread(new ThreadStart(this.StartReceive));
            TempThread.IsBackground = true;
            TempThread.Start();
    

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

     文件      12800  2008-10-25 09:26  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\TestSocketServerHSTF.exe

     文件      32256  2008-10-25 09:26  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\TestSocketServerHSTF.pdb

     文件      14328  2011-07-09 15:23  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\TestSocketServerHSTF.vshost.exe

     文件        490  2007-07-21 01:33  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\TestSocketServerHSTF.vshost.exe.manifest

     文件      24576  2008-10-23 16:17  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\WindowsApplication2.exe

     文件       2560  2008-10-23 16:18  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\bin\Debug\WindowsApplication2.suo

     文件       4983  2008-10-25 09:26  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Form1.cs

     文件       6959  2008-10-25 09:14  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Form1.Designer.cs

     文件       8589  2008-10-25 09:14  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Form1.resx

     文件       4608  2008-10-25 09:13  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       1085  2011-07-09 15:23  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.csproj.FileListAbsolute.txt

     文件        847  2008-10-25 09:14  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.csproj.GenerateResource.Cache

     文件      12800  2008-10-25 09:26  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.exe

     文件        180  2008-10-25 09:14  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.Form1.resources

     文件      32256  2008-10-25 09:26  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.pdb

     文件        180  2008-10-25 09:11  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\Debug\TestSocketServerHSTF.Properties.Resources.resources

     文件        359  2008-10-23 16:41  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\obj\TestSocketServerHSTF.csproj.FileList.txt

     文件        401  2008-10-23 15:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Program.cs

     文件       1188  2008-10-23 15:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Properties\AssemblyInfo.cs

     文件       2867  2008-10-25 09:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Properties\Resources.Designer.cs

     文件       5612  2008-10-23 15:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Properties\Resources.resx

     文件       1101  2008-10-25 09:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Properties\Settings.Designer.cs

     文件        249  2008-10-23 15:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\Properties\Settings.settings

     文件       3499  2008-10-25 09:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\TestSocketServerHSTF.csproj

     文件       1950  2008-10-25 08:42  Tcp\TestSocketServerHSTF\TestSocketServerHSTF\TransferFiles.cs

     文件        950  2008-10-25 09:10  Tcp\TestSocketServerHSTF\TestSocketServerHSTF.sln

    ..A..H.     19456  2011-07-09 15:45  Tcp\TestSocketServerHSTF\TestSocketServerHSTF.suo

     文件       1078  2004-05-27 08:42  Tcp\发送端\App.ico

     文件       1859  2004-05-27 08:42  Tcp\发送端\AssemblyInfo.cs

     文件       2560  2008-10-23 14:05  Tcp\发送端\bin\Debug\WindowsApplication2.duo

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

评论

共有 条评论