- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
TOC \o 1-5 \h \z 2
\o Current Document \h Abstract 3
\o Current Document \h 第一章概述 4
\o Current Document \h 1」开发背景 4
\o Current Document \h 1.2开发工具及其介绍 4
\o Current Document \h 第二章技术背景 6
\o Current Document \h 2.1客户杖L/月艮务器技术 6
\o Current Document \h TCP通讯技术 6
\o Current Document \h Socket通汛技术 6
\o Current Document \h Socket 编程 7
\o Current Document \h 第三章 总体设计 9
\o Current Document \h 3」界面设计 9
\o Current Document \h 3.2功能模块划分 9
\o Current Document \h 3.2.1登陆模块 9
\o Current Document \h 3.2.2聊天模块 9
\o Current Document \h 323聊天记录管理模块 10
\o Current Document \h 第四章 主要功能模块详述 11
\o Current Document \h 4」系统总述 11
\o Current Document \h 4.2模块功能详述 12
\o Current Document \h 4.2.1登陆模块 12
\o Current Document \h 4.2.2聊天模块 18
\o Current Document \h 4.2.3聊天记录管理模块 27
\o Current Document \h 第五章总结与展望 31
\o Current Document \h 5」课题总结 31
\o Current Document \h 5.2进一步开发的展望 32
\o Current Document \h 33
致谢 34
聊天程序主要通过传输文本来实现彼此的沟通、信息的交流。本聊天程序设计主要运 用了 Visual C++编程环境,实现了用户的即吋聊天功能。
本论文设计的聊天程序涉及到了客户机/服务器的基本原理和TCP网络通信技术。应 用GfxOutBarCtrl控件来实现好友的列表显示、聊天时好友的选择以及好友上下线显示的 管理。运用CObList链表来管理一个客户端的多个聊天对话框,实现同一时间与多个好友 的会话。应用Socket通信技术方便地实现了客户端与服务器端之间的通信。同吋还实现了 查看聊天记录的功能。
关键词:聊天程序,会话,Visual C++,网络通信,Socket编程
Abstract
Through transmitting texts, chat programs achieve communicating and transmitting information between people. This chatted programming mainly use Microsoft Visual C++ 6.0 as its programming environment. It has realized the immediately communication between the users?
Getting involved in the design, there are client/server basic principle and TCP network communicating technics. It also includes GfxOutBarCtrl controls, using which to display the good friend lists, choose a friend to chat with, and manage the good friend lists. The CObList control has managed the chat dialogs that one client program created, which realize communicate with several friends in one time. Socket communicate technics do make the chats between the client and the serve
文档评论(0)