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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading;

namespace TCPServer
{
    public partial class frmSyncTcpServer : Form
    {
        #region 变量
        // 申明变量
       
        private TcpListener tcpLister = null;
        private TcpClient tcpClient = null;
        //给定网络服务器地址
        IPAddress ipaddress=IPAddress.Parse(“192.168.2.123“);
        //给定串口号
        private const int Port = 8087;
        private NetworkStream networkStream = null;
        private BinaryReader TCPreader;
        private BinaryWriter TCPwriter;

        // 申明委托
   

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

     文件        877  2018-09-18 00:08  CSharpTCP\TCPCommunication.sln

    ..A..H.     27648  2018-09-18 14:35  CSharpTCP\TCPCommunication.suo

     文件      14848  2018-09-18 14:34  CSharpTCP\TCPServer\bin\Debug\TCPServer.exe

     文件      26112  2018-09-18 14:34  CSharpTCP\TCPServer\bin\Debug\TCPServer.pdb

     文件      11600  2018-09-18 14:35  CSharpTCP\TCPServer\bin\Debug\TCPServer.vshost.exe

     文件        490  2013-03-18 17:00  CSharpTCP\TCPServer\bin\Debug\TCPServer.vshost.exe.manifest

     文件       8829  2018-09-18 14:34  CSharpTCP\TCPServer\Form1.cs

     文件      10524  2018-09-18 14:15  CSharpTCP\TCPServer\Form1.Designer.cs

     文件       6193  2018-09-18 14:15  CSharpTCP\TCPServer\Form1.resx

     文件       5420  2018-09-18 11:30  CSharpTCP\TCPServer\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6293  2018-09-18 14:34  CSharpTCP\TCPServer\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       4332  2018-09-18 14:35  CSharpTCP\TCPServer\obj\x86\Debug\SyncTCPServer.csproj.FileListAbsolute.txt

     文件        975  2018-09-18 14:15  CSharpTCP\TCPServer\obj\x86\Debug\SyncTCPServer.csproj.GenerateResource.Cache

     文件       9174  2018-09-17 23:59  CSharpTCP\TCPServer\obj\x86\Debug\SyncTCPServer.csprojResolveAssemblyReference.cache

     文件      14848  2018-09-18 14:34  CSharpTCP\TCPServer\obj\x86\Debug\TCPServer.exe

     文件        180  2018-09-18 14:15  CSharpTCP\TCPServer\obj\x86\Debug\TCPServer.frmSyncTcpServer.resources

     文件      26112  2018-09-18 14:34  CSharpTCP\TCPServer\obj\x86\Debug\TCPServer.pdb

     文件        180  2018-09-18 00:04  CSharpTCP\TCPServer\obj\x86\Debug\TCPServer.Properties.Resources.resources

     文件        512  2014-06-06 08:50  CSharpTCP\TCPServer\Program.cs

     文件       1438  2014-06-06 08:50  CSharpTCP\TCPServer\Properties\AssemblyInfo.cs

     文件       2848  2014-06-06 08:50  CSharpTCP\TCPServer\Properties\Resources.Designer.cs

     文件       5612  2014-06-06 08:50  CSharpTCP\TCPServer\Properties\Resources.resx

     文件       1096  2014-06-06 08:50  CSharpTCP\TCPServer\Properties\Settings.Designer.cs

     文件        249  2014-06-06 08:50  CSharpTCP\TCPServer\Properties\Settings.settings

     文件       3677  2014-06-06 08:50  CSharpTCP\TCPServer\SyncTCPServer.csproj

     目录          0  2014-06-06 08:50  CSharpTCP\TCPServer\obj\x86\Debug\TempPE

     目录          0  2018-09-18 14:34  CSharpTCP\TCPServer\obj\x86\Debug

     目录          0  2018-09-18 13:31  CSharpTCP\TCPServer\bin\Debug

     目录          0  2018-09-18 13:31  CSharpTCP\TCPServer\obj\x86

     目录          0  2018-09-18 13:31  CSharpTCP\TCPServer\bin

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

评论

共有 条评论