-
threaded a neat process, a very practical
一个巧妙的线程程序,非常实用-threaded a neat process, a very practical
- 2022-08-13 20:46:29下载
- 积分: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
-
VOD practical tool that can MPG document, separate video and audio, video compre...
VOD实用工具,可以从MPG文件之中, 分离视频和音频, 视频直接压缩保存DIV5格式, 音频直接保存为WAV格式, 支持双音轨 必须预先安装DSHOW组件 (AX文件:REGSVR32 /C /S [FILENAME].AX) -VOD practical tool that can MPG document, separate video and audio, video compression preservation DIV5 direct format, audio stored directly to WAV format, and supports dual-track must be pre-installed DSHOW components (AX documents : gating/C/S [FILENAME]. AX )
- 2022-01-24 14:55:19下载
- 积分:1
-
可以把你的桌面当画布的程序
可以把你的桌面当画布的程序-can put your desktop when the canvas procedures
- 2022-12-04 04:25:03下载
- 积分:1
-
jia mi suan fa
jia mi suan fa -jia mi fa sssssssssssssssssssssssss suan
- 2022-03-22 07:32:15下载
- 积分:1
-
Windows CE 系统开发 串口通信讲解
Windows CE 系统开发 串口通信讲解-serial communication and Windows CE
- 2022-01-25 16:06:00下载
- 积分:1
-
数制转换 栈的应用
通过栈的应用,实现任意数制之间的转换。第1行输入两个数,即转换前的数制 转换后的数制,以空格分割第2行输入待转换的数 假定全部数值
- 2023-05-08 17:15:03下载
- 积分:1
-
Design Pattern category referred to in the Maze, used to create models that can...
Design Pattern 里讲到的Maze类,用于创建型模型,可以一边看书,一边看这里面的代码,加深理解. 代码只是示意,只能Compile,Link不能成功,因为有些函数没有实现.只为学习用的^_^-Design Pattern category referred to in the Maze, used to create models that can read the side, while watching this code inside a deeper understanding. Code is indicative only Compile, Link can not succeed, because some functions did not materialize. Only for the study ^ _ ^
- 2022-01-31 22:13:38下载
- 积分:1
-
In visual c++6.0 under similar software PowerWord
在visual c++6.0下实现类似金山词霸的软件-In visual c++6.0 under similar software PowerWord
- 2022-04-16 05:41:01下载
- 积分:1
-
VC编写的旋转文本
VC编写的旋转文本-VC prepared text of the rotation
- 2022-12-24 21:35:04下载
- 积分:1