-
此工程主要包含了两个自己编写的类,:CSocketBlockServer和CSocketBlockClient。程序主要说明如何通过使用这两个类,采用"阻塞SO...
此工程主要包含了两个自己编写的类,:CSocketBlockServer和CSocketBlockClient。程序主要说明如何通过使用这两个类,采用"阻塞SOCKET"来实现快捷、高效的目的。我们平常所见的SOCKET程序,一般都是使用"非阻塞SOCKET",以其提高程序的效率。那么有没有办法使用"阻塞SOCKET"也能方便、快捷的实现我们的网络通讯要求呢?CSocketBlockServer和CsocketBlockClient主要是为了这一目的而编写的。目的分述如下: 1.为了简化使用"阻塞SOCKET"的编程。 2.此外,我发现很多类似的程序中,服务器或客户端既是服务器、又是客户端,尽管这 并不影响通讯,但这确实淡化了C/S模式的本意 这两个类很好的体现了C/S模式,而且 支持多用户。 3.这两个类,可以做为"非阻塞SOCKET"的补充。 使用时,需要在主程序中开辟额外的线程,在线程内部调用这两个类的成员函数来实现,实现过程比较简便。只要客户端成功连接到服务器,双方就可以任意发送数据,而不需要多 次连接。 如果编译时有错误提示:找不到ws2_32.lib,则请确认该文件的实际路径,将此文件加入工程中即可。-this project mainly involves the preparation of his two categories : CSocketBlockServer and CSocketBlockClient. The procedure on how to use these two categories, "SOCKET obstruction" to achieve a fast, efficient purpose. Usually we see SOCKET procedures are generally used "nonblocking socket," with the efficiency of the process. So is there any way the use of "obstruction SOCKET" convenient and efficient realization of network communications requireme
- 2022-07-07 16:37:42下载
- 积分:1
-
Spider code by executing the code can be used to look for beginners
蜘蛛代码 代码习惯可以借签一下 适合初学者-Spider code by executing the code can be used to look for beginners
- 2023-09-04 07:20:02下载
- 积分:1
-
a tourism website (Portland color)
一个旅游网站(兰色调)-a tourism website (Portland color)
- 2022-03-18 11:02:24下载
- 积分:1
-
使用 ISAPI Filter 实现的限制 IIS 多线程访问程序。 主要应用在下载系统,或者使用 IIS 做的流媒体点播系统中,稍加修改可以使其具有认证功能。...
使用 ISAPI Filter 实现的限制 IIS 多线程访问程序。 主要应用在下载系统,或者使用 IIS 做的流媒体点播系统中,稍加修改可以使其具有认证功能。在程序中已经对 用户认证 事件做了直接返回的处理。 使用本 Filter 可以很容易的获得服务器的连接数,从而可以实现多个服务器的负载平衡(可以把请求分发到连接较少的一个服务器上)。 可以对访问的有效控制,可以自定义无限制用户IP,限制用户的IP。 从而可以实现对某个IP的限制数不限制,或者对某个IP的封杀。-use ISAPI Filter achieve restrictions IIS multithreading visit procedures. The main application download system, or do IIS use of streaming media on-demand system, a little change can make it authenticated. The procedures for user authentication has done a deal with the direct return. The use of the Filter can easily access server connections, which can be achieved over the server load balancing (request can be sent to a less connected server). The visit can be an effective control, can define unlimited user IP, the IP user restrictions. Thus it is possible for a limited number of IP no restrictions, or to a particular IP block.
- 2022-03-21 03:45:01下载
- 积分:1
-
www服务加速器
www服务加速器 -Accelerator for www service
- 2023-07-04 10:40:04下载
- 积分:1
-
基于JSP的聊天室,功能齐全,能进行私聊和公聊,非常不错的程序。如果你在此基础上开发更多功能, 不要忘记告诉我了呀,...
基于JSP的聊天室,功能齐全,能进行私聊和公聊,非常不错的程序。如果你在此基础上开发更多功能, 不要忘记告诉我了呀,-JSP-based chat rooms, complete functions, and will conduct public chat Private Chat, very good procedures. If you based on the development of more functional, not to forget to tell me ah,
- 2023-07-14 03:05:04下载
- 积分:1
-
一个简单的基于AJAX的树形结构的文件夹
一个简单的基于AJAX的树形结构的文件夹-A simple AJAX-based tree structure of folders
- 2023-07-31 23:15:02下载
- 积分:1
-
learning materials
visual studio.net 学习资料-learning materials
- 2022-11-13 21:00:04下载
- 积分:1
-
将JSP中的Form表单使用Java类实现,使得在编写JSP网页时能够保证页面整洁。这个是我们实验室为学校搭建研究生管理平台时所使用的公共类...
将JSP中的Form表单使用Java类实现,使得在编写JSP网页时能够保证页面整洁。这个是我们实验室为学校搭建研究生管理平台时所使用的公共类-will JSP Form form using Java to achieve category, making the JSP page prepared to guarantee clean pages. This is our laboratory for graduate school management platform structures used by the public category
- 2022-03-03 06:40:38下载
- 积分:1
-
用VML开发的工作流设计器,对于可视化的工作流建模很有参考价值...
用VML开发的工作流设计器,对于可视化的工作流建模很有参考价值-VML developed using Workflow Designer for visual workflow modeling useful reference
- 2023-05-03 17:10:04下载
- 积分:1