• 大小: 0.41M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 聊天  tcp  小程序  

资源简介

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

namespace ChatClient
{
    public partial class FormClient : Form
    {
        private bool isExit = false;
        private delegate void SetListBoxCallback(string str);
        private SetListBoxCallback setListBoxCallback;
        private TcpClient client;
        private NetworkStream networkStream;
        private BinaryReader br;
        private BinaryWriter bw;
        public FormClient()
        {
            InitializeComponent();
            listBoxStatus.HorizontalScrollbar = true;
           

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

     文件     361472  2016-12-12 12:58  TcpC#\TCP 实验报告.doc

     文件        918  2016-12-09 20:57  TcpC#\TCPClient\ChatClient.sln

    ..A..H.     23040  2016-12-11 23:36  TcpC#\TCPClient\ChatClient.suo

     文件       1600  2016-12-07 21:01  TcpC#\TCPClient\UpgradeLog.xml

     文件       6002  2016-12-11 23:13  TcpC#\TCPClient\ChatClient\FormClient.cs

     文件       9698  2016-12-11 23:13  TcpC#\TCPClient\ChatClient\FormClient.designer.cs

     文件       6006  2016-12-11 23:13  TcpC#\TCPClient\ChatClient\FormClient.resx

     文件        474  2006-02-08 19:42  TcpC#\TCPClient\ChatClient\Program.cs

     文件       3661  2016-12-11 19:59  TcpC#\TCPClient\ChatClient\TCPClient.csproj

     文件      13824  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\bin\Debug\ChatClient.exe

     文件      42496  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\bin\Debug\ChatClient.pdb

     文件      11608  2016-12-11 23:12  TcpC#\TCPClient\ChatClient\bin\Debug\ChatClient.vshost.exe

     文件        490  2010-03-17 22:39  TcpC#\TCPClient\ChatClient\bin\Debug\ChatClient.vshost.exe.manifest

     文件        294  2008-01-15 14:44  TcpC#\TCPClient\ChatClient\obj\ChatClient.csproj.FileList.txt

     文件       3460  2016-12-09 20:57  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.csproj.FileListAbsolute.txt

     文件        847  2006-04-22 13:45  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.csproj.GenerateResource.Cache

     文件      13824  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.exe

     文件        180  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.FormClient.resources

     文件      42496  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.pdb

     文件        180  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\ChatClient.Properties.Resources.resources

     文件       5465  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          2  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\GenerateResource-ResGen.read.1.tlog

     文件          2  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\GenerateResource-ResGen.write.1.tlog

     文件       2546  2016-12-11 23:16  TcpC#\TCPClient\ChatClient\obj\Debug\TCPClient.csproj.FileListAbsolute.txt

     文件       4608  2016-12-07 21:01  TcpC#\TCPClient\ChatClient\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       1176  2006-02-08 19:40  TcpC#\TCPClient\ChatClient\Properties\AssemblyInfo.cs

     文件       2859  2016-12-07 21:01  TcpC#\TCPClient\ChatClient\Properties\Resources.Designer.cs

     文件       5612  2006-02-08 19:40  TcpC#\TCPClient\ChatClient\Properties\Resources.resx

     文件       1109  2016-12-07 21:01  TcpC#\TCPClient\ChatClient\Properties\Settings.Designer.cs

     文件        249  2006-02-08 19:40  TcpC#\TCPClient\ChatClient\Properties\Settings.settings

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

评论

共有 条评论