资源简介

集成IPv4和IPv6下的TCP/UDP通信调试工具 可绑定本地端口,全部由对应套接字编写,采用异步通信方式,有想学习套接字通信或者异步通信的童鞋来说应该有很大帮助

资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;

namespace 通讯测试工具
{
    public partial class HomePage : Form
    {
        public HomePage()
        {
            InitializeComponent();
        }

        private void HomePage_Load(object sender EventArgs e)
        {

        }
        
        //检查是否存在当前窗口,私有方法
        private Boolean ckChildFrm(string frmName)
        {
            foreach (Form childFrm in this.MdiChildren)
            {
                if (childFrm.Name == frmName)
                {
                    if (childFrm.WindowState == FormWindowState.Minimized)
                    {
                        childFrm.WindowState = FormWindowState.Normal;
                    }
                    childFrm.Activate();
                    return true;
                }
            }
            return false;
        }

        private void TCP_IPv4_Server_Click(object sender EventArgs e)
        {
            TCP_IPv4_Server_Page frm = new TCP_IPv4_Server_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void TCP_IPv4_Client_Click(object sender EventArgs e)
        {
            TCP_IPv4_Client_Page frm = new TCP_IPv4_Client_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void UDP_IPv4_Server_Click(object sender EventArgs e)
        {
            UDP_IPv4_Server_Page frm = new UDP_IPv4_Server_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void UDP_IPv4_Client_Click(object sender EventArgs e)
        {
            UDP_IPv4_Client_Page frm = new UDP_IPv4_Client_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void TCP_IPv6_Server_Click(object sender EventArgs e)
        {
            TCP_IPv6_Server_Page frm = new TCP_IPv6_Server_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void TCP_IPv6_Client_Click(object sender EventArgs e)
        {
            TCP_IPv6_Client_Page frm = new TCP_IPv6_Client_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void UDP_IPv6_Server_Click(object sender EventArgs e)
        {
            UDP_IPv6_Server_Page frm = new UDP_IPv6_Server_Page();
            frm.MdiParent = this;
            frm.Show();
        }

        private void UDP_IPv6_Client_Click(object sender EventArgs e)
        {
            UDP_IPv6_Client_Page frm = new UDP_IPv6_Client_Page();
            frm.MdiParent = this;
            frm.Show();
        }
    }
}

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

     文件     103936  2013-12-04 09:16  IPv4andIPv6通讯测试工具\通讯测试工具\bin\Debug\通讯测试工具.exe

     文件     124416  2013-12-04 09:16  IPv4andIPv6通讯测试工具\通讯测试工具\bin\Debug\通讯测试工具.pdb

     文件      11600  2013-12-04 08:51  IPv4andIPv6通讯测试工具\通讯测试工具\bin\Debug\通讯测试工具.vshost.exe

     文件        490  2010-03-18 12:39  IPv4andIPv6通讯测试工具\通讯测试工具\bin\Debug\通讯测试工具.vshost.exe.manifest

     文件       2718  2013-12-03 08:58  IPv4andIPv6通讯测试工具\通讯测试工具\HomePage.cs

     文件      10224  2013-12-03 08:58  IPv4andIPv6通讯测试工具\通讯测试工具\HomePage.Designer.cs

     文件      20617  2013-12-03 08:58  IPv4andIPv6通讯测试工具\通讯测试工具\HomePage.resx

     文件       7062  2013-12-04 09:16  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv4_Client_Page.cs

     文件       9001  2013-12-04 09:16  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv4_Client_Page.Designer.cs

     文件      12754  2013-12-04 09:16  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv4_Client_Page.resx

     文件       7024  2013-12-02 15:37  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv6_Client_Page.cs

     文件       9128  2013-12-02 15:16  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv6_Client_Page.Designer.cs

     文件      12754  2013-12-02 15:16  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\TCP_IPv6_Client_Page.resx

     文件       3631  2013-11-29 12:22  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv4_Client_Page.cs

     文件       8250  2013-11-19 14:21  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv4_Client_Page.Designer.cs

     文件      12754  2013-11-19 14:21  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv4_Client_Page.resx

     文件       3612  2013-11-29 12:22  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv6_Client_Page.cs

     文件       8249  2013-11-21 15:04  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv6_Client_Page.Designer.cs

     文件      12754  2013-11-21 15:04  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Client\UDP_IPv6_Client_Page.resx

     文件      10822  2013-12-03 17:06  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv4_Server_Page.cs

     文件       7752  2013-12-03 14:33  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv4_Server_Page.Designer.cs

     文件      12754  2013-12-03 14:33  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv4_Server_Page.resx

     文件      10822  2013-12-02 15:51  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv6_Server_Page.cs

     文件       7894  2013-12-02 15:17  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv6_Server_Page.Designer.cs

     文件      12754  2013-12-02 15:17  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\TCP_IPv6_Server_Page.resx

     文件       4138  2013-11-28 14:08  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\UDP_IPv4_Server_Page.cs

     文件       6721  2013-11-21 16:31  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\UDP_IPv4_Server_Page.Designer.cs

     文件      12754  2013-11-21 16:31  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\UDP_IPv4_Server_Page.resx

     文件       4189  2013-11-21 15:49  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\UDP_IPv6_Server_Page.cs

     文件       6699  2013-11-21 14:39  IPv4andIPv6通讯测试工具\通讯测试工具\Items\Server\UDP_IPv6_Server_Page.Designer.cs

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

评论

共有 条评论