您现在正在浏览:首页 > 论文 > 计算机 > 课程设计-基于TCP/IP聊天程序的设计与实现

免费下载课程设计-基于TCP/IP聊天程序的设计与实现

  • 资源类别:论文
  • 资源分类:计算机
  • 适用专业:程序设计
  • 适用年级:大学
  • 上传用户:小将8700
  • 文件格式:word+Visual C++
  • 文件大小:543.14KB
  • 上传时间:2008-7-10 14:28:50
  • 下载次数:2
  • 浏览次数:417

安全检测:瑞星:安全 诺顿:安全 卡巴:安全

资料简介
课程设计 基于TCP/IP聊天程序的设计与实现(附源程序,正文共45页,20093字)
目录
第 1 章 概论
1.1 课题的来源及意义 …………………………………………… 1
1.2 网络聊天的软件的现况……………………………………… 1
1.3 面向对象方法与设计简介…………………………………… 2
1.4 本章小结………………………………………………………… 3
第 2 章 网络聊天程序的设计原理和过程
2.1 TCP/IP协议 …………………………………………………… 4
2.2面向套接字的设计 …………………………………………… 6
第 3 章 软件功能需求分析…………………………………………… 9
第 4 章 概要设计和详细设计
4.1总体设计概述……………………………………………………10
4.2服务器数据库的设计 …………………………………………11
4.3类设计的总体结构 ……………………………………………13
4.4服务器端的常量定义 …………………………………………15
4.5客户端的常量定义 ……………………………………………17
4.6服务器端的底层通讯类的设计………………………………21
4.7客户端的底层通讯类的设计…………………………………23
4.8客户/服务器之间的通讯的数据类的设计 ………………25
4.9发送数据的确认消息的编码方案 …………………………30
4.10服务器端的分配用户帐号的策略…………………………31
4.11 服务器的应用程序类CServerApp的设计 ……………31
4.12 客户端的应用程序类CClientApp的设计 ……………33
4.13服务器端检查用户是否仍然在线的算法 ………………34
4.14服务器端处理用户请求的算法……………………………35
4.15客户端处理服务器发送来数据的算法 …………………40
第 5 章 全文总结与工作展望
5.1 全文总结…………………………………………………………42
5.2 工作展望…………………………………………………………42
参 考 文 献……………………………………………………………………47
资料文件预览
共13文件夹,300个文件,文件总大小:1.39MB,压缩后大小:543.14KB
  • 课程设计-基于TCP/IP聊天程序的设计与实现
    • 基于TCPIP网络聊天程序的设计
      • 基于TCPIP网络聊天程序的设计
        • 代码
          • src
            • client
              • res
                • Windows图标aaa.ico  [1.05KB]
                • Windows或OS/2位图文件bmp382.bmp  [1.30KB]
                • Windows或OS/2位图文件bmp476.bmp  [540.00B]
                • Windows或OS/2位图文件bmp573.bmp  [1.30KB]
                • Windows或OS/2位图文件bmp682.bmp  [198.00B]
                • Windows或OS/2位图文件bmp683.bmp  [198.00B]
                • Windows或OS/2位图文件bmp684.bmp  [198.00B]
                • Windows图标Checkmrk.ico  [766.00B]
                • Windows图标check_la.ico  [766.00B]
                • Windows图标Client.ico  [1.05KB]
                • rc2Client.rc2  [398.00B]
                • Windows光标文件cur1320.cur  [326.00B]
                • Windows光标文件cur268.cur  [326.00B]
                • Windows或OS/2位图文件find.bmp  [246.00B]
                • Windows或OS/2位图文件find1.bmp  [1.32KB]
                • Windows或OS/2位图文件find2.bmp  [1.30KB]
                • Windows或OS/2位图文件help.bmp  [540.00B]
                • Windows图标ico00001.ico  [1.37KB]
                • Windows图标ico746.ico  [2.49KB]
                • Windows图标ico747.ico  [2.49KB]
                • Windows图标icon2.ico  [3.55KB]
                • Windows图标icon4.ico  [318.00B]
                • Windows光标文件icr_hand.cur  [326.00B]
                • Windows图标idr_chat.ico  [1.37KB]
                • Windows图标idr_find.ico  [1.37KB]
                • Windows图标idr_frie.ico  [1.37KB]
                • Windows图标idr_home.ico  [1.37KB]
                • Windows图标idr_main.ico  [3.55KB]
                • Windows图标idr_mdis.ico  [1.37KB]
                • Windows图标idr_mess.ico  [1.37KB]
                • Windows图标idr_noti.ico  [766.00B]
                • Windows图标idr_onhi.ico  [1.37KB]
                • Windows图标idr_onli.ico  [2.49KB]
                • Windows图标idr_qq.ico  [2.49KB]
                • Windows图标idr_sear.ico  [1.37KB]
                • Windows图标idr_sj.ico  [1.37KB]
                • Windows图标idr_sj1.ico  [1.37KB]
                • Windows或OS/2位图文件LargeIcon.bmp  [8.05KB]
                • Windows或OS/2位图文件message.bmp  [224.00B]
                • Windows或OS/2位图文件mess_man.bmp  [1.30KB]
                • Windows图标Network Neighbourhood.ico  [3.55KB]
                • Windows或OS/2位图文件person_s.bmp  [224.00B]
                • Windows或OS/2位图文件quit.bmp  [1.30KB]
                • Windows图标red.ico  [1.05KB]
                • Windows或OS/2位图文件SmallIcon.bmp  [2.80KB]
                • Windows或OS/2位图文件sys_setu.bmp  [512.00B]
                • Windows或OS/2位图文件Toolbar.bmp  [1.24KB]
                • Windows或OS/2位图文件toolbar1.bmp  [1.12KB]
                • Windows或OS/2位图文件toolbar2.bmp  [502.00B]
                • Windows或OS/2位图文件toolbar3.bmp  [886.00B]
                • Windows图标User.ico  [3.55KB]
              • C++代码文件AddFriendDlg.cpp  [3.80KB]
              • C程序头文件AddFriendDlg.h  [1.59KB]
              • C++代码文件BmpButton.cpp  [1.78KB]
              • C程序头文件BmpButton.h  [1.13KB]
              • C++代码文件BmpComBox.cpp  [3.69KB]
              • C程序头文件BmpComBox.h  [1.45KB]
              • C++代码文件ChangePwd.cpp  [2.30KB]
              • C程序头文件ChangePwd.h  [1.30KB]
              • clwClient.clw  [17.07KB]
              • C++代码文件Client.cpp  [11.05KB]
              • Microsoft Developer Studio工程文件Client.dsp  [10.93KB]
              • Microsoft Developer Studio工作区文件Client.dsw  [535.00B]
              • C程序头文件Client.h  [2.19KB]
              • rcClient.rc  [36.35KB]
              • C++代码文件ClientSocket.cpp  [3.73KB]
              • C程序头文件ClientSocket.h  [1.63KB]
              • C++代码文件common.cpp  [543.00B]
              • C程序头文件Common.h  [5.47KB]
              • C++代码文件Data.cpp  [1.09KB]
              • C程序头文件Data.h  [2.03KB]
              • C++代码文件FriendDetail.cpp  [6.49KB]
              • C程序头文件FriendDetail.h  [1.92KB]
              • C++代码文件GfxGroupEdit.cpp  [3.22KB]
              • C程序头文件GfxGroupEdit.h  [1.66KB]
              • C++代码文件GfxOutBarCtrl.cpp  [59.18KB]
              • C程序头文件GfxOutBarCtrl.h  [8.00KB]
              • C++代码文件GfxPopupMenu.cpp  [14.10KB]
              • C程序头文件GfxPopupMenu.h  [1.71KB]
              • C++代码文件LoginDlg.cpp  [4.88KB]
              • C程序头文件LoginDlg.h  [1.56KB]
              • C++代码文件LookDlg.cpp  [5.60KB]
              • C程序头文件LookDlg.h  [1.73KB]
              • C++代码文件MainFrm.cpp  [26.05KB]
              • C程序头文件MainFrm.h  [3.54KB]
              • C++代码文件ModifyPIDlg.cpp  [8.25KB]
              • C程序头文件ModifyPIDlg.h  [1.81KB]
              • C++代码文件Msg.cpp  [20.04KB]
              • C程序头文件Msg.h  [3.03KB]
              • C++代码文件MultiSendDlg.cpp  [5.00KB]
              • C程序头文件MultiSendDlg.h  [1.51KB]
              • C++代码文件RegisterDlg.cpp  [7.83KB]
              • C程序头文件RegisterDlg.h  [1.94KB]
              • C++代码文件RequestFriendDetail.cpp  [595.00B]
              • C程序头文件resource.h  [9.32KB]
              • C++代码文件SearchDlg.cpp  [7.35KB]
              • C程序头文件SearchDlg.h  [1.75KB]
              • C++代码文件SendBroadcastDlg.cpp  [3.29KB]
              • C程序头文件SendBroadcastDlg.h  [1.47KB]
              • C++代码文件SendToAllDlg.cpp  [2.94KB]
              • C程序头文件SendToAllDlg.h  [1.40KB]
              • C++代码文件SetupServerDlg.cpp  [1.15KB]
              • C程序头文件SetupServerDlg.h  [1.25KB]
              • C++代码文件ShowAddMsgDlg.cpp  [1.04KB]
              • C程序头文件ShowAddMsgDlg.h  [1.27KB]
              • C++代码文件ShowBroadcastDlg.cpp  [5.91KB]
              • C程序头文件ShowBroadcastDlg.h  [1.81KB]
              • C++代码文件ShowOnlineDlg.cpp  [6.65KB]
              • C程序头文件ShowOnlineDlg.h  [1.92KB]
              • C++代码文件StdAfx.cpp  [208.00B]
              • C程序头文件StdAfx.h  [1.04KB]
              • C++代码文件TalkDlg.cpp  [5.71KB]
              • C程序头文件TalkDlg.h  [1.74KB]
              • C++代码文件TrayIcon.cpp  [2.80KB]
              • C程序头文件TrayIcon.h  [1022.00B]
            • server
              • res
                • Windows图标EXPLORER.ICO  [1.05KB]
                • Windows图标HANDSHAK.ICO  [1.05KB]
                • Windows图标ico577.ico  [318.00B]
                • Windows图标ico579.ico  [318.00B]
                • Windows图标idr_frie.ico  [1.37KB]
                • Windows图标MAIL01A.ICO  [1.05KB]
                • Windows图标MAIL03.ICO  [1.05KB]
                • Windows图标MAIL11.ICO  [1.05KB]
                • Windows图标MAIL12.ICO  [1.05KB]
                • Windows图标Nethood.ico  [1.05KB]
                • Windows图标netneigh.ico  [9.90KB]
                • Windows图标Point04.ico  [1.05KB]
                • Windows图标REMTEACC.ICO  [1.05KB]
                • Windows图标Server.ico  [1.05KB]
                • rc2Server.rc2  [398.00B]
                • Windows图标ServerDoc.ico  [1.05KB]
                • Windows或OS/2位图文件Toolbar.bmp  [1.40KB]
              • C++代码文件CheckOnline.cpp  [1.99KB]
              • C程序头文件Common.h  [4.32KB]
              • C++代码文件Data.cpp  [1.07KB]
              • C程序头文件Data.h  [1.22KB]
              • C++代码文件MainFrm.cpp  [3.45KB]
              • C程序头文件MainFrm.h  [1.76KB]
              • C++代码文件Msg.cpp  [20.04KB]
              • C程序头文件Msg.h  [3.03KB]
              • C++代码文件RecvData.cpp  [33.88KB]
              • C程序头文件Resource.h  [1.70KB]
              • clwServer.clw  [3.74KB]
              • C++代码文件Server.cpp  [9.71KB]
              • Microsoft Developer Studio工程文件Server.dsp  [5.62KB]
              • Microsoft Developer Studio工作区文件Server.dsw  [537.00B]
              • C程序头文件Server.h  [2.07KB]
              • rcServer.rc  [12.61KB]
              • C++代码文件ServerDoc.cpp  [1.78KB]
              • C程序头文件ServerDoc.h  [1.44KB]
              • C++代码文件ServerView.cpp  [2.77KB]
              • C程序头文件ServerView.h  [1.65KB]
              • C++代码文件SetupDlg.cpp  [3.81KB]
              • C程序头文件SetupDlg.h  [1.50KB]
              • C++代码文件Socket.cpp  [5.74KB]
              • C程序头文件Socket.h  [2.58KB]
              • C++代码文件StdAfx.cpp  [208.00B]
              • C程序头文件StdAfx.h  [1.01KB]
              • C++代码文件TrayIcon.cpp  [2.31KB]
              • C程序头文件TrayIcon.h  [1022.00B]
        • 论文
          • Microsoft Word文档doc.doc  [264.00KB]
        • 运行程序
          • run
            • face
              • Windows或OS/2位图文件1-1.bmp  [2.05KB]
              • Windows或OS/2位图文件1-2.bmp  [2.05KB]
              • Windows或OS/2位图文件10-1.bmp  [600.00B]
              • Windows或OS/2位图文件10-2.bmp  [592.00B]
              • Windows或OS/2位图文件11-1.bmp  [600.00B]
              • Windows或OS/2位图文件11-2.bmp  [588.00B]
              • Windows或OS/2位图文件12-1.bmp  [592.00B]
              • Windows或OS/2位图文件12-2.bmp  [584.00B]
              • Windows或OS/2位图文件13-1.bmp  [600.00B]
              • Windows或OS/2位图文件13-2.bmp  [588.00B]
              • Windows或OS/2位图文件14-1.bmp  [600.00B]
              • Windows或OS/2位图文件14-2.bmp  [600.00B]
              • Windows或OS/2位图文件15-1.bmp  [596.00B]
              • Windows或OS/2位图文件15-2.bmp  [588.00B]
              • Windows或OS/2位图文件16-1.bmp  [600.00B]
              • Windows或OS/2位图文件16-2.bmp  [592.00B]
              • Windows或OS/2位图文件17-1.bmp  [600.00B]
              • Windows或OS/2位图文件17-2.bmp  [600.00B]
              • Windows或OS/2位图文件18-1.bmp  [596.00B]
              • Windows或OS/2位图文件18-2.bmp  [596.00B]
              • Windows或OS/2位图文件19-1.bmp  [592.00B]
              • Windows或OS/2位图文件19-2.bmp  [588.00B]
              • Windows或OS/2位图文件2-1.bmp  [600.00B]
              • Windows或OS/2位图文件2-2.bmp  [592.00B]
              • Windows或OS/2位图文件20-1.bmp  [604.00B]
              • Windows或OS/2位图文件20-2.bmp  [604.00B]
              • Windows或OS/2位图文件21-1.bmp  [596.00B]
              • Windows或OS/2位图文件21-2.bmp  [600.00B]
              • Windows或OS/2位图文件22-1.bmp  [592.00B]
              • Windows或OS/2位图文件22-2.bmp  [588.00B]
              • Windows或OS/2位图文件23-1.bmp  [596.00B]
              • Windows或OS/2位图文件23-2.bmp  [588.00B]
              • Windows或OS/2位图文件24-1.bmp  [600.00B]
              • Windows或OS/2位图文件24-2.bmp  [600.00B]
              • Windows或OS/2位图文件25-1.bmp  [600.00B]
              • Windows或OS/2位图文件25-2.bmp  [600.00B]
              • Windows或OS/2位图文件26-1.bmp  [600.00B]
              • Windows或OS/2位图文件26-2.bmp  [592.00B]
              • Windows或OS/2位图文件27-1.bmp  [596.00B]
              • Windows或OS/2位图文件27-2.bmp  [588.00B]
              • Windows或OS/2位图文件28-1.bmp  [592.00B]
              • Windows或OS/2位图文件28-2.bmp  [588.00B]
              • Windows或OS/2位图文件29-1.bmp  [600.00B]
              • Windows或OS/2位图文件29-2.bmp  [600.00B]
              • Windows或OS/2位图文件3-1.bmp  [600.00B]
              • Windows或OS/2位图文件3-2.bmp  [584.00B]
              • Windows或OS/2位图文件30-1.bmp  [600.00B]
              • Windows或OS/2位图文件30-2.bmp  [600.00B]
              • Windows或OS/2位图文件31-1.bmp  [588.00B]
              • Windows或OS/2位图文件31-2.bmp  [596.00B]
              • Windows或OS/2位图文件32-1.bmp  [600.00B]
              • Windows或OS/2位图文件32-2.bmp  [600.00B]
              • Windows或OS/2位图文件33-1.bmp  [600.00B]
              • Windows或OS/2位图文件33-2.bmp  [592.00B]
              • Windows或OS/2位图文件34-1.bmp  [600.00B]
              • Windows或OS/2位图文件34-2.bmp  [600.00B]
              • Windows或OS/2位图文件35-1.bmp  [600.00B]
              • Windows或OS/2位图文件35-2.bmp  [600.00B]
              • Windows或OS/2位图文件36-1.bmp  [592.00B]
              • Windows或OS/2位图文件36-2.bmp  [588.00B]
              • Windows或OS/2位图文件37-1.bmp  [600.00B]
              • Windows或OS/2位图文件37-2.bmp  [588.00B]
              • Windows或OS/2位图文件38-1.bmp  [600.00B]
              • Windows或OS/2位图文件38-2.bmp  [600.00B]
              • Windows或OS/2位图文件39-1.bmp  [600.00B]
              • Windows或OS/2位图文件39-2.bmp  [600.00B]
              • Windows或OS/2位图文件4-1.bmp  [600.00B]
              • Windows或OS/2位图文件4-2.bmp  [584.00B]
              • Windows或OS/2位图文件40-1.bmp  [600.00B]
              • Windows或OS/2位图文件40-2.bmp  [600.00B]
              • Windows或OS/2位图文件41-1.bmp  [600.00B]
              • Windows或OS/2位图文件41-2.bmp  [600.00B]
              • Windows或OS/2位图文件42-1.bmp  [600.00B]
              • Windows或OS/2位图文件42-2.bmp  [600.00B]
              • Windows或OS/2位图文件43-1.bmp  [600.00B]
              • Windows或OS/2位图文件43-2.bmp  [592.00B]
              • Windows或OS/2位图文件44-1.bmp  [584.00B]
              • Windows或OS/2位图文件44-2.bmp  [584.00B]
              • Windows或OS/2位图文件45-1.bmp  [1.12KB]
              • Windows或OS/2位图文件45-2.bmp  [1.12KB]
              • Windows或OS/2位图文件46-1.bmp  [592.00B]
              • Windows或OS/2位图文件46-2.bmp  [2.05KB]
              • Windows或OS/2位图文件47-1.bmp  [604.00B]
              • Windows或OS/2位图文件47-2.bmp  [1.12KB]
              • Windows或OS/2位图文件48-1.bmp  [600.00B]
              • Windows或OS/2位图文件48-2.bmp  [596.00B]
              • Windows或OS/2位图文件49-1.bmp  [604.00B]
              • Windows或OS/2位图文件49-2.bmp  [604.00B]
              • Windows或OS/2位图文件5-1.bmp  [600.00B]
              • Windows或OS/2位图文件5-2.bmp  [592.00B]
              • Windows或OS/2位图文件50-1.bmp  [600.00B]
              • Windows或OS/2位图文件50-2.bmp  [600.00B]
              • Windows或OS/2位图文件51-1.bmp  [604.00B]
              • Windows或OS/2位图文件51-2.bmp  [604.00B]
              • Windows或OS/2位图文件52-1.bmp  [604.00B]
              • Windows或OS/2位图文件52-2.bmp  [604.00B]
              • Windows或OS/2位图文件53-1.bmp  [592.00B]
              • Windows或OS/2位图文件53-2.bmp  [592.00B]
              • Windows或OS/2位图文件54-1.bmp  [600.00B]
              • Windows或OS/2位图文件54-2.bmp  [600.00B]
              • Windows或OS/2位图文件55-1.bmp  [600.00B]
              • Windows或OS/2位图文件55-2.bmp  [600.00B]
              • Windows或OS/2位图文件56-1.bmp  [600.00B]
              • Windows或OS/2位图文件56-2.bmp  [600.00B]
              • Windows或OS/2位图文件57-1.bmp  [1.12KB]
              • Windows或OS/2位图文件57-2.bmp  [1.12KB]
              • Windows或OS/2位图文件58-1.bmp  [604.00B]
              • Windows或OS/2位图文件58-2.bmp  [604.00B]
              • Windows或OS/2位图文件59-1.bmp  [600.00B]
              • Windows或OS/2位图文件59-2.bmp  [592.00B]
              • Windows或OS/2位图文件6-1.bmp  [600.00B]
              • Windows或OS/2位图文件6-2.bmp  [592.00B]
              • Windows或OS/2位图文件60-1.bmp  [604.00B]
              • Windows或OS/2位图文件60-2.bmp  [604.00B]
              • Windows或OS/2位图文件61-1.bmp  [604.00B]
              • Windows或OS/2位图文件61-2.bmp  [604.00B]
              • Windows或OS/2位图文件62-1.bmp  [604.00B]
              • Windows或OS/2位图文件62-2.bmp  [600.00B]
              • Windows或OS/2位图文件63-1.bmp  [592.00B]
              • Windows或OS/2位图文件63-2.bmp  [592.00B]
              • Windows或OS/2位图文件64-1.bmp  [600.00B]
              • Windows或OS/2位图文件64-2.bmp  [600.00B]
              • Windows或OS/2位图文件65-1.bmp  [600.00B]
              • Windows或OS/2位图文件65-2.bmp  [592.00B]
              • Windows或OS/2位图文件66-1.bmp  [592.00B]
              • Windows或OS/2位图文件66-2.bmp  [588.00B]
              • Windows或OS/2位图文件7-1.bmp  [600.00B]
              • Windows或OS/2位图文件7-2.bmp  [588.00B]
              • Windows或OS/2位图文件8-1.bmp  [592.00B]
              • Windows或OS/2位图文件8-2.bmp  [584.00B]
              • Windows或OS/2位图文件9-1.bmp  [596.00B]
              • Windows或OS/2位图文件9-2.bmp  [588.00B]
              • 初始化文件face.ini  [1.27KB]
            • 可执行文件(程序)Client.exe  [79.00KB]
            • Microsoft Access数据库database.mdb  [240.00KB]
            • Microsoft Access数据库db97.mdb  [128.00KB]
            • ASCⅡ文本格式的声音数据readme.txt  [198.00B]
            • 可执行文件(程序)Server.exe  [41.50KB]
            • 初始化文件Server.ini  [39.00B]
下载地址
资料评论
注意事项
下载FAQ:
Q: 为什么我下载的文件打不开?
A: 本站所有资源如无特殊说明,解压密码都是www.xuehai.net,如果无法解压,请下载最新的WinRAR软件。
Q: 我的学海币不多了,如何获取学海币?
A: 上传优质资源可以获取学海币,详细见学海币规则
Q: 为什么我下载不了,但学海币却被扣了?
A: 由于下载人数众多,下载服务器做了并发的限制。请稍后再试,48小时内多次下载不会重复扣学海币。
下载本文件意味着您已经同意遵守以下协议
1. 文件的所有权益归上传用户所有。
2. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
3. 学海网仅提供交流平台,并不能对任何下载内容负责。
4. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
5. 本站不保证提供的下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
返回顶部