文件名称:winsock-server6-8
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.43mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
WINSOCK服务器端示例程序说明
该程序是基于对话框编程的,是采用一对多的方式进行连接的。
整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。
(所有关于类的说明在代码中有)
下面简单介绍一下程序流程:
主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。
对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。
注:详细的过程,在程序代码中均有注释!-The WINSOCK server-side sample program that the program is a dialog-based programming, is one-to-many connection. The entire program CServerDlg, CServerApp CListenSocket, CClientSocket constitutes. (All instructions to the class in the code) The following is a brief look at the program flow: The main program calls CListenSocket class object to the Socket listener, the main function is called when the request is received to deal with the appropriate connection, the Socket into the queue. Socket to receive data and disconnect is triggered by the message is handled by calling the virtual function overloading base class CSocket. Note: The detailed process both in the code comments!
该程序是基于对话框编程的,是采用一对多的方式进行连接的。
整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。
(所有关于类的说明在代码中有)
下面简单介绍一下程序流程:
主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。
对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。
注:详细的过程,在程序代码中均有注释!-The WINSOCK server-side sample program that the program is a dialog-based programming, is one-to-many connection. The entire program CServerDlg, CServerApp CListenSocket, CClientSocket constitutes. (All instructions to the class in the code) The following is a brief look at the program flow: The main program calls CListenSocket class object to the Socket listener, the main function is called when the request is received to deal with the appropriate connection, the Socket into the queue. Socket to receive data and disconnect is triggered by the message is handled by calling the virtual function overloading base class CSocket. Note: The detailed process both in the code comments!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
winsock server6-8/ClientSocket.cpp
winsock server6-8/ClientSocket.h
winsock server6-8/ListenSocket.cpp
winsock server6-8/ListenSocket.h
winsock server6-8/ReadMe.txt
winsock server6-8/recedata.txt
winsock server6-8/Release/ClientSocket.obj
winsock server6-8/Release/ClientSocket.sbr
winsock server6-8/Release/ListenSocket.obj
winsock server6-8/Release/ListenSocket.sbr
winsock server6-8/Release/Server.bsc
winsock server6-8/Release/Server.exe
winsock server6-8/Release/Server.obj
winsock server6-8/Release/Server.pch
winsock server6-8/Release/Server.res
winsock server6-8/Release/Server.sbr
winsock server6-8/Release/ServerDlg.obj
winsock server6-8/Release/ServerDlg.sbr
winsock server6-8/Release/StdAfx.obj
winsock server6-8/Release/StdAfx.sbr
winsock server6-8/Release/vc60.idb
winsock server6-8/res/Server.ico
winsock server6-8/res/Server.rc2
winsock server6-8/resource.h
winsock server6-8/senddata.txt
winsock server6-8/senddata2.txt
winsock server6-8/Server.aps
winsock server6-8/Server.clw
winsock server6-8/Server.cpp
winsock server6-8/Server.dsp
winsock server6-8/Server.dsw
winsock server6-8/Server.h
winsock server6-8/Server.ncb
winsock server6-8/Server.opt
winsock server6-8/Server.plg
winsock server6-8/Server.rc
winsock server6-8/ServerDlg.cpp
winsock server6-8/ServerDlg.h
winsock server6-8/StdAfx.cpp
winsock server6-8/StdAfx.h
winsock server6-8/WINSOCK服务器端程序说明.txt
winsock server6-8/Release
winsock server6-8/res
winsock server6-8
winsock server6-8/ClientSocket.h
winsock server6-8/ListenSocket.cpp
winsock server6-8/ListenSocket.h
winsock server6-8/ReadMe.txt
winsock server6-8/recedata.txt
winsock server6-8/Release/ClientSocket.obj
winsock server6-8/Release/ClientSocket.sbr
winsock server6-8/Release/ListenSocket.obj
winsock server6-8/Release/ListenSocket.sbr
winsock server6-8/Release/Server.bsc
winsock server6-8/Release/Server.exe
winsock server6-8/Release/Server.obj
winsock server6-8/Release/Server.pch
winsock server6-8/Release/Server.res
winsock server6-8/Release/Server.sbr
winsock server6-8/Release/ServerDlg.obj
winsock server6-8/Release/ServerDlg.sbr
winsock server6-8/Release/StdAfx.obj
winsock server6-8/Release/StdAfx.sbr
winsock server6-8/Release/vc60.idb
winsock server6-8/res/Server.ico
winsock server6-8/res/Server.rc2
winsock server6-8/resource.h
winsock server6-8/senddata.txt
winsock server6-8/senddata2.txt
winsock server6-8/Server.aps
winsock server6-8/Server.clw
winsock server6-8/Server.cpp
winsock server6-8/Server.dsp
winsock server6-8/Server.dsw
winsock server6-8/Server.h
winsock server6-8/Server.ncb
winsock server6-8/Server.opt
winsock server6-8/Server.plg
winsock server6-8/Server.rc
winsock server6-8/ServerDlg.cpp
winsock server6-8/ServerDlg.h
winsock server6-8/StdAfx.cpp
winsock server6-8/StdAfx.h
winsock server6-8/WINSOCK服务器端程序说明.txt
winsock server6-8/Release
winsock server6-8/res
winsock server6-8
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.