Welcome![Sign In][Sign Up]
Location:
Search - CSocketBlockServer

Search list

[Web ServersockInWeb

Description: 此工程主要包含了两个自己编写的类,: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 requirements? CSocketBlockServer and CsocketBlockClient mainly to the purpose of preparation. A breakdown is as follows : 1. To simplify the use of "obstruction SOCKET" programming. 2. Moreover, I found that many similar proceedings, the server or client is server, the client is, although this does not affect com
Platform: | Size: 20175 | Author: lcm | Hits:

[Web ServersockInWeb

Description: 此工程主要包含了两个自己编写的类,: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 requirements? CSocketBlockServer and CsocketBlockClient mainly to the purpose of preparation. A breakdown is as follows : 1. To simplify the use of "obstruction SOCKET" programming. 2. Moreover, I found that many similar proceedings, the server or client is server, the client is, although this does not affect com
Platform: | Size: 19456 | Author: | Hits:

CodeBus www.codebus.net