登录
首页 » Windows Socket编程 » MFC实现的一个关于socket通信的测试工具(包含UDP组播,UDP,TCP)

MFC实现的一个关于socket通信的测试工具(包含UDP组播,UDP,TCP)

于 2022-06-13 发布 文件大小:111.76 kB
0 91
下载积分: 2 下载次数: 1

代码说明:

本程序用MFC基于对话框实现了windows下的socket通信,分别实现了TCP通信、UDP通信以及UDP组播通信。可以发送字符串也能发送16进制的数据。socket使用了非阻塞模式,并且是事件触发的。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Client序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。 连接成...
    Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。 连接成功后显示提示信息; 然后client端向TCP Server发送“GET UDP PORT”字符串,Server收到后向client回送自己的UDP Server 端口号(即Client端仅知道TCP Server的端口号而不知道UDP Server的端口号); client在收到UDP Server的端口号后, 为用户显示3个选项: 1.“Get current time(TCP)”服务器时间 2.“Echo Mode(UDP)”回显6 3.“Exit the program”. -Client program also creates a TCP socket, respectively, and a UDP socket, the first client to use TCP socket connection TCP Server. After a successful connection displays a prompt message and then client-side to the TCP Server sends " GET UDP PORT" string, Server receipt back to the client to send their UDP Server port number (ie, Client-side only to know the TCP Server" s UDP port number do not know Server" s port number) client received UDP Server port number, in order to the user three options: 1. " Get current time (TCP)" server time 2. " Echo Mode (UDP)" echo 63. " Exit the program" .
    2023-07-31 00:05:03下载
    积分:1
  • 取MAC IP 机器名示例源码
    取MAC IP 机器名示例源码-MAC IP machine name check sample source
    2022-06-16 19:53:17下载
    积分:1
  • 一个软件自动更新序,包括更新文件版本等信息获取,md5码计算比较,http下载,cab压缩文件解压等模块...
    一个软件自动更新程序,包括更新文件版本等信息获取,md5码计算比较,http下载,cab压缩文件解压等模块-an automatic software updates, including the updating of documents and other information obtained, md5 dollar terms, http download, decompress compressed files cab modules
    2022-08-26 14:05:09下载
    积分:1
  • dsdfsdf alsdfj asdfj asdfj L;askdjfasdf
    Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdkl asdkl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;sdj fkl;asdjfl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdkl asdkl asdkl;fjasl;fjal;fjal;sdj fkl;asdjfl;as fl;kasjd fl;afasdfasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;afasdfasdfasdfasdfasdfasdkl asdkl;fjasl;fjal;fjall;as fl;kasjd fl;afasdfasdfasdfasdfasdfasmdasdkl asdkl asdkl;fjall;asjfl;asdfasdfasdfasdfasdkl asdkl;fjasl;sdj fkl;asdjfl;as fl;kasjd fl;asjd fl;afasdfasdfasdfasdfasdkl asdkl asdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdkl;fjal;Sdjfl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl asdkl;fjal;fjasl;fjal;fjal;Sdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl asdkl;fjasl;fjal;sdj fkl;
    2022-04-24 19:58:15下载
    积分:1
  • Win32_Packed自己写的win32包装类
    Win32_Packed自己写的win32包装类-Win32_Packed himself wrote the win32 packaging category
    2022-05-19 03:41:46下载
    积分:1
  • ASP Jmail send mail using the example of the website frequently used programming
    ASP中用Jmail发送邮件的实例,网页编程中经常用到-ASP Jmail send mail using the example of the website frequently used programming
    2022-01-25 17:31:22下载
    积分:1
  • FTP的客户端,用户可以能过FTP的客户端来实现FTP文件的管理等...
    FTP的客户端,用户可以能过FTP的客户端来实现FTP文件的管理等-FTP client, users can lead FTP client to achieve the FTP file management
    2022-08-22 04:17:29下载
    积分:1
  • 这是osip官方网站下载,osip2的源代码。非常有帮助的…
    这是osip官方网站上下载的,osip2的源代码。对学习osip很有帮助-This is the official website osip downloaded, osip2 source code. Very helpful for learning osip
    2022-03-11 15:05:42下载
    积分:1
  • nettime procedures can access the internet is very easy to use
    nettime程序 可以随时获取internet上的时间 非常好用-nettime procedures can access the internet is very easy to use
    2022-08-26 01:58:05下载
    积分:1
  • FTP文件传输
    FTP文件传输程序-FTP file transfer procedures
    2022-02-03 18:01:51下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载