Location:
Search - udp socket mfc
Search list
Description: 1.套接字编程原理
1.1 Client/server通信模型
1.2 Windows Sockets规范
1.3 套接字
1.3.1 套接字定义
1.3.2分类
1.3.3 套接字的作用
1.3.4端口与地址
1.3.5 套接口属性
2.基本的Windows Sockets API编程
2.1常用函数
2.2 TCP实例
2.3 UDP实例
2.4 Socket 通信阻塞的解决方法
3.MFC下的Socket编程的类
3.1 CAsyncSocket类
3.2 CSocket类
3.3 Windows Sockets:带存档的套接字的工作方式
3.4 流式套接字通信的操作顺序
3.5 使用 CAsyncSocket 类
3.6 从套接字类派生
3.7 套接字通知
3.8 一个使用CSocket类的网络通信实例
3.8.1 服务器端应用程序设计(ServerDemo)
3.8.2 客户端应用程序设计(项目名称ClientDemo)
4.套接字的托管实现
4.1 System::Net::Sockets 命名空间
4.2 实例:一个新邮件检查器
-1. Socket Programming Principle 1.1 Client / server communications model Soc Windows 1.2 kets norms 1.3 Socket socket definition 1.3.1 1.3.3 1.3.2 classification socket role 1.3.4 1.3.5 addresses and port interface attributes two sets. Basic programming Windows Sockets API function commonly used 2.1 2.2 2.3 TCP example UDP Socket Communications examples 2.4 blocked three solutions. MFC Socket Programming under the category of Class 3.2 3.1 CAsyncSocket CSocke t Windows Sockets 3.3 categories : filing with the way socket 340 socket communication flow sequence of operation to use 3.5 CAsyncSo cket category 3.6 derived from the socket type 3.8 3.7 socket notice the use of a network of CSocket Communication Liaison example 3.8.1 server application design (ServerDemo) 3.8.2 client Application D
Platform: |
Size: 172902 |
Author: gong |
Hits:
Description: socket udp 编程MFC小例子,可直接参考
Platform: |
Size: 32230 |
Author: 成 |
Hits:
Description: 这个程序是udp socket编程的范例,支持端口到端口的即时聊天,也可以是局域网内的广播通信
///////////////////////////////////
The MSocUdp sample is a minimal dialog box-based MFC application that
demonstrates how to use the CAsyncSocket class to send and receive directed
datagram or broadcast datagram over User Datagram Protocol (UDP).
Platform: |
Size: 4410011 |
Author: h |
Hits:
Description: 1.套接字编程原理
1.1 Client/server通信模型
1.2 Windows Sockets规范
1.3 套接字
1.3.1 套接字定义
1.3.2分类
1.3.3 套接字的作用
1.3.4端口与地址
1.3.5 套接口属性
2.基本的Windows Sockets API编程
2.1常用函数
2.2 TCP实例
2.3 UDP实例
2.4 Socket 通信阻塞的解决方法
3.MFC下的Socket编程的类
3.1 CAsyncSocket类
3.2 CSocket类
3.3 Windows Sockets:带存档的套接字的工作方式
3.4 流式套接字通信的操作顺序
3.5 使用 CAsyncSocket 类
3.6 从套接字类派生
3.7 套接字通知
3.8 一个使用CSocket类的网络通信实例
3.8.1 服务器端应用程序设计(ServerDemo)
3.8.2 客户端应用程序设计(项目名称ClientDemo)
4.套接字的托管实现
4.1 System::Net::Sockets 命名空间
4.2 实例:一个新邮件检查器
-1. Socket Programming Principle 1.1 Client/server communications model Soc Windows 1.2 kets norms 1.3 Socket socket definition 1.3.1 1.3.3 1.3.2 classification socket role 1.3.4 1.3.5 addresses and port interface attributes two sets. Basic programming Windows Sockets API function commonly used 2.1 2.2 2.3 TCP example UDP Socket Communications examples 2.4 blocked three solutions. MFC Socket Programming under the category of Class 3.2 3.1 CAsyncSocket CSocke t Windows Sockets 3.3 categories : filing with the way socket 340 socket communication flow sequence of operation to use 3.5 CAsyncSo cket category 3.6 derived from the socket type 3.8 3.7 socket notice the use of a network of CSocket Communication Liaison example 3.8.1 server application design (ServerDemo) 3.8.2 client Application D
Platform: |
Size: 173056 |
Author: gong |
Hits:
Description: MFC类下的winsock多线程实现文件传输,在vc++6.0下通过调试。-MFC category under the winsock multithreading document transmission, the 6.0 vc through debugging.
Platform: |
Size: 2048 |
Author: umbroumbro |
Hits:
Description: 一个基于MFC对话框的Socket应用程序,包括UDP/TCP/FTP协议的实现,及字符串和数据流两种传输模式。 -an MFC dialog based on the Socket applications, including UDP/TCP/FTP protocol implemented, and string, and the data flow both transmission modes.
Platform: |
Size: 77824 |
Author: 就是恶 |
Hits:
Description: ◆◆◆ 《模仿 MFC 中的 CAsyncSocket 类写的一个网络通信类 CHwSocket》◆◆◆
MFC 中提供两个用于网络编程的类分别为异步的 CAsyncSocket 类和同步的 CSocket 类,这两个类用来编写网络通信程序时非常方便,但也存在一些问题,例如:不能跨线程访问、程序发布时使用静态连接 MFC 时也有问题、默认使用了窗口来接受消息,在无窗口的程序中也有问题,这些问题我一直没有解决,如果有高手知道解决方法敬请告知,我的 E-Mail 地址是:chrys@163.com。
为了编程方便,我这里将 Socket APIs 封装成一个类似 CAsyncSocket 接口的类,可以在任意线程中访问,也可以静态连接 MFC,另外可控性比 MFC 中的两个Socket类好多了。我还为 CHwSocket 类编写了详细的测试代码,可以进行 TCP 服务器/客户端数据通信,也可以进行 UDP 数据通信,还可以收发 UDP 广播数据报。
你可以任意修改复制本代码,但请保留这段文字不要修改。
希望我能为中国的软件行业尽一份薄力!
◆◆◆ 作者 ◆◆◆
谢红伟 · chrys · chrys@163.com · http://www.howa.com.cn
◆◆◆ 日期 ◆◆◆
2007-09-23 00:29:12
Platform: |
Size: 40960 |
Author: 谢红伟 |
Hits:
Description: 这里将 Socket APIs 封装成一个类似 CAsyncSocket 接口的类,可以在任意线程中访问,也可以静态连接 MFC,另外可控性比 MFC 中的两个Socket类好多了。我还为 CHwSocket 类编写了详细的测试代码,可以进行 TCP 服务器/客户端数据通信,也可以进行 UDP 数据通信,还可以收发 UDP 广播数据报。-Socket APIs are here to package into a similar category CAsyncSocket interface, you can access at any thread can also be connected static MFC, controllable than the other two MFC Class Socket much better. I also CHwSocket category for the preparation of a detailed test code that can be TCP server/client data communications, will be able to conduct UDP data communications, can also send and receive UDP broadcast datagram.
Platform: |
Size: 48128 |
Author: 张雨 |
Hits:
Description: 该程序利用MFC 实现WINDOWS下的SOCKET 编程,包括了TCP以及UDP 的不同连接方式-The program using MFC under WINDOWS realize SOCKET programming, including TCP and UDP connections of different
Platform: |
Size: 36864 |
Author: sunsee |
Hits:
Description: socket udp 编程MFC小例子,可直接参考-socket udp small MFC programming examples, reference can be directly
Platform: |
Size: 31744 |
Author: 成 |
Hits:
Description: 这个程序是udp socket编程的范例,支持端口到端口的即时聊天,也可以是局域网内的广播通信
///////////////////////////////////
The MSocUdp sample is a minimal dialog box-based MFC application that
demonstrates how to use the CAsyncSocket class to send and receive directed
datagram or broadcast datagram over User Datagram Protocol (UDP).
-This procedure is an example of udp socket programming in support of port-to-port real-time chat, can also be a local area network within the broadcast and communications //////////////////////// /////////// The MSocUdp sample is a minimal dialog box-based MFC application thatdemonstrates how to use the CAsyncSocket class to send and receive directeddatagram or broadcast datagram over User Datagram Protocol (UDP).
Platform: |
Size: 4409344 |
Author: h |
Hits:
Description: 使用UDP模拟可靠传输协议rdt2.0。使用两个程序,一个发送一个接收,方便大家学习。
(VC6,MFC,socket)-Reliable simulation of the use of UDP transport protocol rdt2.0. The use of two procedures, one to send a receiver to facilitate learning. (VC6, MFC, socket)
Platform: |
Size: 61440 |
Author: liangliang |
Hits:
Description: 本示例为基于winsocket中AsyncSelect模型的简单的UDP回送程序。
本工程为vs2005-MFC工程,窗口用的是MFC,使用socket编写(非MFC的CSocket类)。
bin文件夹--->应用程序
src文件夹--->源代码-This example is based on winsocket AsyncSelect model in a simple UDP echo program. This works for vs2005-MFC project, the window with the MFC, write with the socket(not MFC CSocket class).
bin folder--->Application
src folder---> source code
Platform: |
Size: 166912 |
Author: zele |
Hits:
Description: VC6MFC使用MFC实现socket通讯示例程序-VC6MFC socket communication using the MFC sample programs to achieve
Platform: |
Size: 46080 |
Author: ma |
Hits:
Description: mfc界面的 模仿qq聊天,使用socket,udp协议-qq chat interface imitation mfc
Platform: |
Size: 1945600 |
Author: 黄力 |
Hits:
Description: MFC窗体,Visual C++6.0,UDP通信,有接收端和发送端。-UDP communication
Platform: |
Size: 5006336 |
Author: 欧海波 |
Hits:
Description: 网络编程之UDP实例,MFC+Socket实现;学习理解网络编程的小程序-The network programming UDP instance, MFC+Socket achieve small program to study and understand network programming
Platform: |
Size: 7040000 |
Author: mumu |
Hits:
Description: 1.套接字编程原理 1.1 Client/server通信模型 1.2 Windows Sockets规范 1.3 套接字 1.3.1 套接字定义 1.3.2分类 1.3.3 套接字的作用 1.3.4端口与地址 1.3.5 套接口属性 2.基本的Windows Sockets API编程 2.1常用函数 2.2 TCP实例 2.3 UDP实例 2.4 Socket 通信阻塞的解决方法 3.MFC下的Socket编程的类 3.1 CAsyncSocket类 3.2 CSocket类 3.3 Windows Sockets:带存档的套接字的工作方式 3.4 流式套接字通信的操作顺序 3.5 使用 CAsyncSocket 类 -1. Socket Programming Principle 1.1 Client/server communication model 1.2 Windows Sockets specification 1.3 socket 1.3.1 Sockets the role defined 1.3.3 1.3.2 classification socket 1.3.4 port address 1.3.5 socket attributes 2. Commonly used functions of basic Windows Sockets API Programming 2.1 2.3 UDP 2.2 TCP Example Example 2.4 Socket communication blocking solution. Socket programming under MFC 3.1 CAsyncSocket class 3.2 CSocket class 3.3 Windows Sockets: Sockets with Archives 3.4 socket communication flow operation of the order of 3.5 using the CAsyncSocket class
Platform: |
Size: 41984 |
Author: chenrui |
Hits:
Description: 这程序是利用在windows在的socket网络编程基于MFC的UDP聊天程序,在一个界面下实现客户端和服务端之间的通信,类似-This procedure is to use the windows in the socket UDP network programming MFC-based chat program, implemented in an interface between the client and server communications, similar to the QQ
Platform: |
Size: 2966528 |
Author: 苏青源 |
Hits:
Description: UDP 传输 服务器端 客户端 计网作业 VS(UDP server client socket MFC)
Platform: |
Size: 9216 |
Author: _oohsehun |
Hits: