CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Internet/网络编程

文件名称: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!
(系统自动生成,下载前可以参看下载内容)

下载文件列表

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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com