-
此工程主要包含了两个自己编写的类,: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
-
BBS论坛,采用struts,jsp,java开发,数据库用ACCE
BBS论坛,采用struts,jsp,java开发,数据库用ACCE-BBS forums, using struts, jsp, java development, database ACCE
- 2022-03-04 14:39:35下载
- 积分:1
-
simple orders, complete with the background of management, suitable for beginner...
简单的订单系统, 带完整的后台管理,适合于初学者.-simple orders, complete with the background of management, suitable for beginners.
- 2022-04-12 14:21:08下载
- 积分:1
-
一个带电子支付的音乐网站,非常好用。
一个带电子支付的音乐网站,非常好用。...
一个带电子支付的音乐网站,非常好用。
一个带电子支付的音乐网站,非常好用。
-Electronic payment of a band
- 2022-12-22 04:45:04下载
- 积分:1
-
这是一个电子商务系统。里面有很多提供电子商务方面有功能。希望对大家有帮助。...
这是一个电子商务系统。里面有很多提供电子商务方面有功能。希望对大家有帮助。-This is a system of electronic commerce. There are many providers of e-commerce are functional. We want to help.
- 2022-07-04 13:07:24下载
- 积分:1
-
一个用于客户端和服务器端的客户端的简单程序,C#
一个用于客户端和服务器端的客户端的简单程序,C#-one for the client and the server-client simple procedure, C#
- 2022-06-12 02:54:45下载
- 积分:1
-
WEB服务器网络客户端接收程序,使用VB编写,包含所有源代码
WEB服务器网络客户端接收程序,使用VB编写,包含所有源代码
- 2022-06-12 20:50:07下载
- 积分:1
-
visual studio.net 2003 C to prepare a simple web servic e process server. Provid...
visual studio.net 2003 C++ 编写的简单的web service 程序 服务器端。提供了两个简单的web方法:华氏温度与摄氏温度转换ConvertC2F 和ConvertF2C-visual studio.net 2003 C to prepare a simple web servic e process server. Provide two simple web : Fahrenheit temperature and Celsius temperature change and ConvertF2C ConvertC2F
- 2022-09-28 12:15:05下载
- 积分:1
-
免安装tomcat5.5
免安装tomcat5.5-9,自动配置服务。不需要安装就可以直接启动- Exempts installs the tomcat5.5-9, automatic disposition
service. Does not need to install may the line start
- 2022-02-26 00:13:30下载
- 积分:1
-
使用jsp语言编写的网络流量统计文件,可以实时统计网络流量
使用jsp语言编写的网络流量统计文件,可以实时统计网络流量-use jsp language network traffic statistics, real-time network traffic statistics
- 2023-03-27 00:45:03下载
- 积分:1