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

资源简介


资源截图

代码片段和文件信息

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

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

        public TcpClient TcpClient;        
        StreamReader ClientReader;
        StreamWriter ClientWriter;
        NetworkStream Stream;
        Thread Thd;

        private void btn_Click(object sender EventArgs e)
        {
            try
            {
                    if(Stream.DataAvailable)
                    {
                        rtxChatInfo.AppendT

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

     文件       3330  2012-10-09 11:40  TCP通讯\client\Backup\client\client.csproj

     文件        168  2012-10-09 11:40  TCP通讯\client\Backup\client\client.csproj.user

     文件       5346  2012-10-09 11:40  TCP通讯\client\Backup\client\Form1.cs

     文件       9911  2012-10-09 11:40  TCP通讯\client\Backup\client\Form1.Designer.cs

     文件       6203  2012-10-09 11:40  TCP通讯\client\Backup\client\Form1.resx

     文件        465  2012-10-09 11:40  TCP通讯\client\Backup\client\Program.cs

     文件       1190  2012-10-09 11:40  TCP通讯\client\Backup\client\Properties\AssemblyInfo.cs

     文件       2866  2012-10-09 11:40  TCP通讯\client\Backup\client\Properties\Resources.Designer.cs

     文件       5612  2012-10-09 11:40  TCP通讯\client\Backup\client\Properties\Resources.resx

     文件       1089  2012-10-09 11:40  TCP通讯\client\Backup\client\Properties\Settings.Designer.cs

     文件        249  2012-10-09 11:40  TCP通讯\client\Backup\client\Properties\Settings.settings

     文件        907  2012-10-09 11:40  TCP通讯\client\Backup\client.sln

     文件      17408  2012-10-09 11:40  TCP通讯\client\Backup\client.suo

     文件      13312  2012-10-23 09:14  TCP通讯\client\client\bin\Debug\client.exe

     文件      28160  2012-10-23 09:14  TCP通讯\client\client\bin\Debug\client.pdb

     文件      14328  2012-11-09 13:08  TCP通讯\client\client\bin\Debug\client.vshost.exe

     文件        490  2009-06-11 05:14  TCP通讯\client\client\bin\Debug\client.vshost.exe.manifest

     文件       3538  2012-10-09 11:40  TCP通讯\client\client\client.csproj

     文件        168  2012-10-09 11:40  TCP通讯\client\client\client.csproj.user

     文件       5334  2012-11-09 17:32  TCP通讯\client\client\Form1.cs

     文件       9870  2012-10-11 13:31  TCP通讯\client\client\Form1.Designer.cs

     文件       6185  2012-10-11 22:24  TCP通讯\client\client\Form1.resx

     文件        261  2012-10-09 11:40  TCP通讯\client\client\obj\client.csproj.FileList.txt

     文件       4990  2012-10-09 11:40  TCP通讯\client\client\obj\client.csproj.FileListAbsolute.txt

     文件       3196  2012-11-09 13:08  TCP通讯\client\client\obj\Debug\client.csproj.FileListAbsolute.txt

     文件        847  2012-10-22 17:29  TCP通讯\client\client\obj\Debug\client.csproj.GenerateResource.Cache

     文件      13312  2012-10-23 09:14  TCP通讯\client\client\obj\Debug\client.exe

     文件        180  2012-10-22 17:29  TCP通讯\client\client\obj\Debug\client.Form1.resources

     文件      28160  2012-10-23 09:14  TCP通讯\client\client\obj\Debug\client.pdb

     文件        180  2012-10-22 17:29  TCP通讯\client\client\obj\Debug\client.Properties.Resources.resources

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

评论

共有 条评论