文件名称:TCPCom
- 所属分类:
- 网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 217.85kb
- 下载次数:
- 0次
- 提 供 者:
- 阿*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
看了袁渊先生在VC知识库《在线杂志》第14期发表的文章《基于TCP/IP的局域网多用户通信》,感觉受益颇多,但也觉得里面有一些不太完善的地方,具体来说主要有:
1、两个服务器单独运行,且主线程均阻塞,用户界面死锁,不便于控制;
2、聊天服务器线程和互斥量的使用可能导致死锁;
3、不能实现文件传送(文件传送可不能由服务器转发,否则非把它累趴下不可^-^);
4、不能由用户进行网络设置,所以在不同的网络使用必须修改源程序等等;
我在此基础上重新设计编写了一个系统
-read YUAN Yuan in VC knowledge base "online magazine" 14 published an article, "based on TCP / IP LAN multi-user communication", I feel a lot of benefit, but also think that there are some less than perfect, specifically are : 1, 2 server running, and the main threads are blocked, the user interface Deadlock, facilitate control; 2, chat server threads and contradict the use of volume may lead to deadlock; 3, achieve file transfer (FTP can be transmitted by the server, otherwise he will not get on the ground tired ^ - ^) ; 4, and not by users for network configuration, the different networks must be revised source, etc.; I would like to re-design on the basis of the preparation of a system
1、两个服务器单独运行,且主线程均阻塞,用户界面死锁,不便于控制;
2、聊天服务器线程和互斥量的使用可能导致死锁;
3、不能实现文件传送(文件传送可不能由服务器转发,否则非把它累趴下不可^-^);
4、不能由用户进行网络设置,所以在不同的网络使用必须修改源程序等等;
我在此基础上重新设计编写了一个系统
-read YUAN Yuan in VC knowledge base "online magazine" 14 published an article, "based on TCP / IP LAN multi-user communication", I feel a lot of benefit, but also think that there are some less than perfect, specifically are : 1, 2 server running, and the main threads are blocked, the user interface Deadlock, facilitate control; 2, chat server threads and contradict the use of volume may lead to deadlock; 3, achieve file transfer (FTP can be transmitted by the server, otherwise he will not get on the ground tired ^ - ^) ; 4, and not by users for network configuration, the different networks must be revised source, etc.; I would like to re-design on the basis of the preparation of a system
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 71477177tcpcom.rar 列表 wbQQRegSer\ReadMe.txt wbQQRegSer\res\wbQQRegSer.ico wbQQRegSer\res\wbQQRegSer.rc2 wbQQRegSer\res wbQQRegSer\Resource.h wbQQRegSer\StdAfx.cpp wbQQRegSer\StdAfx.h wbQQRegSer\User.cpp wbQQRegSer\User.h wbQQRegSer\wbQQRegSer.clw wbQQRegSer\wbQQRegSer.cpp wbQQRegSer\wbQQRegSer.dsp wbQQRegSer\wbQQRegSer.dsw wbQQRegSer\wbQQRegSer.exe wbQQRegSer\wbQQRegSer.h wbQQRegSer\wbQQRegSer.opt wbQQRegSer\wbQQRegSer.plg wbQQRegSer\wbQQRegSer.rc wbQQRegSer\wbQQRegSerDlg.cpp wbQQRegSer\wbQQRegSerDlg.h wbQQRegSer wbQQClient\AboutAuth.cpp wbQQClient\AboutAuth.h wbQQClient\CarryFile.cpp wbQQClient\CarryFile.h wbQQClient\ChatDlg.cpp wbQQClient\ChatDlg.h wbQQClient\data\111.db wbQQClient\data\111.lwb wbQQClient\data\222.db wbQQClient\data\222.lwb wbQQClient\data\333.db wbQQClient\data\333.lwb wbQQClient\data\444.db wbQQClient\data\444.lwb wbQQClient\data\555.db wbQQClient\data\555.lwb wbQQClient\data\netset.cfg wbQQClient\data wbQQClient\face\02.ico wbQQClient\face\03.ico wbQQClient\face\04.ico wbQQClient\face\05.ico wbQQClient\face\06.ico wbQQClient\face\07.ico wbQQClient\face\08.ico wbQQClient\face\09.ico wbQQClient\face\10.ico wbQQClient\face\11.ico wbQQClient\face\12.ico wbQQClient\face\13.ico wbQQClient\face\14.ico wbQQClient\face\15.ico wbQQClient\face\16.ico wbQQClient\face\17.ico wbQQClient\face\18.ico wbQQClient\face\19.ico wbQQClient\face\20.ico wbQQClient\face\21.ico wbQQClient\face\22.ico wbQQClient\face\23.ico wbQQClient\face\24.ico wbQQClient\face\25.ico wbQQClient\face\icon25.ico wbQQClient\face wbQQClient\IconComboBox.cpp wbQQClient\IconComboBox.h wbQQClient\NetSet.cpp wbQQClient\NetSet.h wbQQClient\ReadMe.txt wbQQClient\RegBasicDlg.cpp wbQQClient\RegBasicDlg.h wbQQClient\RegMisc.cpp wbQQClient\RegMiscDlg.cpp wbQQClient\RegMiscDlg.h wbQQClient\RegNetSetDlg.cpp wbQQClient\RegNetSetDlg.h wbQQClient\RegWizard.cpp wbQQClient\RegWizard.h wbQQClient\res\banshen.bmp wbQQClient\res\wbQQClient.ico wbQQClient\res\wbQQClient.rc2 wbQQClient\res wbQQClient\Resource.h wbQQClient\StdAfx.cpp wbQQClient\StdAfx.h wbQQClient\wbQQClient.clw wbQQClient\wbQQClient.cpp wbQQClient\wbQQClient.dsp wbQQClient\wbQQClient.dsw wbQQClient\wbQQClient.exe wbQQClient\wbQQClient.h wbQQClient\wbQQClient.opt wbQQClient\wbQQClient.plg wbQQClient\wbQQClient.rc wbQQClient\wbQQClientDlg.cpp wbQQClient\wbQQClientDlg.h wbQQClient wbQQChat\ReadMe.txt wbQQChat\res\wbQQChat.ico wbQQChat\res\wbQQChat.rc2 wbQQChat\res wbQQChat\Resource.h wbQQChat\StdAfx.cpp wbQQChat\StdAfx.h wbQQChat\wbQQChat.clw wbQQChat\wbQQChat.cpp wbQQChat\wbQQChat.dsp wbQQChat\wbQQChat.dsw wbQQChat\wbQQChat.exe wbQQChat\wbQQChat.h wbQQChat\wbQQChat.opt wbQQChat\wbQQChat.plg wbQQChat\wbQQChat.rc wbQQChat wbQQuser.mdb 软件说明.txt Readme.url about.url 免费音乐,MTV,电影.url 使用说明.txt