-
向大家介绍如何使用VC++创建一个标准的MFC WinSock ActiveX控件,源代码非常完整,提供接口、与相应事件挂钩。实例涉及到VARIANT、SAFE...
向大家介绍如何使用VC++创建一个标准的MFC WinSock ActiveX控件,源代码非常完整,提供接口、与相应事件挂钩。实例涉及到VARIANT、SAFEARRAY、BSTR的详细使用方法。另外还提供了WinSock的详细开发步骤,以及如何响应网络超时,网络断开的事件方法以及在VC、VB调用该控件的方法。-To tell you how to use VC++ to create a standard MFC WinSock ActiveX control, source code is very complete and provide interfaces to link with the corresponding event. Examples relate to the VARIANT, SAFEARRAY, BSTR details of use. WinSock also provided a detailed development process, as well as how to respond to network timeouts, network disconnect event methods as well as VC, VB calls the control method.
- 2023-07-18 07:55:03下载
- 积分:1
-
Socket通信示例
一次.net Socket UDP编程
最近想写一个网络服务器端的程序,想看看在大量客户端数下程序的运行情况。于是对.net 的Socket编程进行了一些研究,发现.net 3.5 里SocketAsyncEventArgs 是基于IOCP实现。MSDN上有相关的示例,但它是基于TCP协议的,而我想要的是基于UDP协议的。网上很难找到基于UDP协议的SocketAsyncEventArgs示例(UDP需要用IOCP吗?),于是决定自己写一个基于UDP协议的示例,看看它在和大量客户端通讯时的运行情况。
程序分为服务器端和客户端,它们使用UDP协议进行通讯。众所周知UDP是无连接的,可我又想计算出有多少客户端和服务器通信,其中又有多少是新的客户端。所以设计让服务器端程序绑定两个端口。一个端口专门用于接收客户端第一次发送过来的数据包;另一个端口负责和已经接入的客户端进行通讯(是不是有点像TCP的接入,例子本身也在模仿Tcp编程)。客户端比较简单让它生成足够多的Socket,然后不断的向服务器端发送数据包即可。
- 2022-08-17 12:38:18下载
- 积分:1
-
俄罗斯方块的一个源代码,实现了经典的俄罗斯方块游戏,经vc6调试成功...
俄罗斯方块的一个源代码,实现了经典的俄罗斯方块游戏,经vc6调试成功-rect
- 2022-12-28 23:30:04下载
- 积分:1
-
自适应神经网络的源代码
Adaptive Neural Networks
自适应神经网络是实现神经网络自适应算法的集合-Adaptive neural network source code
Adaptive Neural Networks
Adaptive neural network is to achieve a collection of neural network adaptive algorithm
- 2023-01-20 14:55:04下载
- 积分:1
-
数据库数据传给Word
数据库数据传给Word-pass Word Database
- 2023-08-09 20:00:02下载
- 积分:1
-
CS Cpu Monitor 2.0.0源代码.zip
CS Cpu Monitor 2.0.0源代码.zip-CS Monitor 2.0.0 instant source code. Zip
- 2022-01-25 22:00:12下载
- 积分:1
-
Generate intel. Hex file in the main function they need to add a document storag...
生成intel .hex 格式的文件,在main函数中加入自己需要存储的文件。-Generate intel. Hex file in the main function they need to add a document storage.
- 2023-07-13 11:10:03下载
- 积分:1
-
可以通过网络求出对方精确的ip地址 可以方便的和对方对话
可以通过网络求出对方精确的ip地址 可以方便的和对方对话-network can be obtained through other precision ip addresses can facilitate dialogue and the other side
- 2023-08-17 19:10:03下载
- 积分:1
-
高质量C++编程指南书,对我一定基础的C++学习者来说,这是一本帮助你继续提高的书籍。...
高质量C++编程指南书,对我一定基础的C++学习者来说,这是一本帮助你继续提高的书籍。-High-quality C++ Programming Guide book, I will certainly based on the C++ Learners, this is one to help you continue to improve the books.
- 2023-08-09 09:25:03下载
- 积分:1
-
cleaning robots
这是“清洁机器人”项目。希望能帮你做算术智能作业
- 2022-08-20 03:26:38下载
- 积分:1