• 大小: 0.05M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 客户端  程序  C#  

资源简介

服务器源码见 https://www.haolizi.net/example/view_27496.html

资源截图

代码片段和文件信息

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

namespace client
{
    public partial class Form1 : Form
    {
        public delegate void upadta(String arg);
        Socket mysocket;

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            mysocket = new Socket(AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp);
            IPAddress ips = IPAddress.Parse(textBox1.Text);
            IPEndPoint ipend = new IPE

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-08-17 20:04  client\
     目录           0  2019-08-17 20:04  client\.vs\
     目录           0  2019-08-17 20:04  client\.vs\client\
     目录           0  2019-08-17 20:04  client\.vs\client\v14\
     文件       41472  2019-08-17 20:39  client\.vs\client\v14\.suo
     目录           0  2019-08-17 20:39  client\client\
     文件         189  2019-08-17 20:04  client\client\App.config
     文件        6758  2019-08-17 20:18  client\client\Form1.Designer.cs
     文件        1965  2019-08-17 20:39  client\client\Form1.cs
     文件        5817  2019-08-17 20:18  client\client\Form1.resx
     文件         518  2019-08-17 20:04  client\client\Program.cs
     目录           0  2019-08-17 20:04  client\client\Properties\
     文件        1338  2019-08-17 20:04  client\client\Properties\AssemblyInfo.cs
     文件        2825  2019-08-17 20:04  client\client\Properties\Resources.Designer.cs
     文件        5612  2019-08-17 20:04  client\client\Properties\Resources.resx
     文件        1093  2019-08-17 20:04  client\client\Properties\Settings.Designer.cs
     文件         249  2019-08-17 20:04  client\client\Properties\Settings.settings
     目录           0  2019-08-17 20:04  client\client\bin\
     目录           0  2019-08-17 20:12  client\client\bin\Debug\
     文件       10752  2019-08-17 20:18  client\client\bin\Debug\client.exe
     文件         189  2019-08-17 20:04  client\client\bin\Debug\client.exe.config
     文件       22016  2019-08-17 20:18  client\client\bin\Debug\client.pdb
     文件       22696  2019-08-17 20:25  client\client\bin\Debug\client.vshost.exe
     文件         189  2019-08-17 20:04  client\client\bin\Debug\client.vshost.exe.config
     文件         490  2015-10-22 09:54  client\client\bin\Debug\client.vshost.exe.manifest
     文件        3910  2019-08-17 20:12  client\client\client.csproj
     目录           0  2019-08-17 20:04  client\client\obj\
     目录           0  2019-08-17 20:18  client\client\obj\Debug\
     文件         868  2019-08-17 20:04  client\client\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7296  2019-08-17 20:05  client\client\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2019-08-17 21:06  client\client\obj\Debug\TempPE\
............此处省略11个文件信息

评论

共有 条评论