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: