-
此工程主要包含了两个自己编写的类,: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
-
个人认为这是一本不错的asp.net学习资料,本次上传的只是原代码,如有需要教材请e...
个人认为这是一本不错的asp.net学习资料,本次上传的只是原代码,如有需要教材请e-mal与不才联系。并于此推荐《asp.net技术内幕》一书-personal opinion, this is a good learning materials Asp. Net, the only upload the original code, if necessary materials please e-mal links with wonder. And this recommendation, "Asp. Net technology insider," a book
- 2022-07-28 06:00:39下载
- 积分:1
-
用http协议实现的文件下载 断点续传下载
用http协议实现的文件下载 断点续传下载-Http protocol with the File Download HTTP Download
- 2023-02-05 03:35:03下载
- 积分: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
-
wamreg51.dll
装IIS必须的文件
wamreg51.dll
装IIS必须的文件-wamreg51.dll
- 2022-05-16 13:30:36下载
- 积分:1
-
在一个网络中,在知道IP和PORT的情况下,可以实现一对一,一对多,多对一的消息发送...
在一个网络中,在知道IP和PORT的情况下,可以实现一对一,一对多,多对一的消息发送-there are many computer what to commuticate with each. this project can satisfy this requirement
- 2022-02-06 07:57:34下载
- 积分:1
-
基于Proteus仿真Web服务器
web server simulation on proteus
- 2022-02-26 07:39:47下载
- 积分:1
-
演示向浏览器端发送重定向结果的例子
演示向浏览器端发送重定向结果的例子-A example demonstrates how to send a redirect result to browsers
- 2023-04-19 18:35:04下载
- 积分:1
-
一个简单的网络通信的小程序,一端为服务器,一端为客户端
一个简单的网络通信的小程序,一端为服务器,一端为客户端-a simple communication network of small procedures, end of the server end of client
- 2023-05-03 18:20:03下载
- 积分:1
-
基于.net,为了配合分布式系统课程实践而安排的实习,具体内容为利用Web Service技术实现个人银行业务服务。该项目是利用WebService技术实现模拟...
基于.net,为了配合分布式系统课程实践而安排的实习,具体内容为利用Web Service技术实现个人银行业务服务。该项目是利用WebService技术实现模拟ATM机的个人网上银行的业务操作。-based. Net, in order to meet the Distributed Systems Practice arranged internship specific content for the Web Service Technology personal banking services. The project is to use technology to achieve WebService ATM machine simulation personal Internet banking business operations.
- 2022-01-24 17:40:00下载
- 积分:1