- 1、本文档共38页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
2014届毕业设计说明书
基于Linux操作系统的聊天软件的设计
学 院: 电气与信息工程学院
学生姓名: 刘 勇
指导教师: 凌云 职称 讲师
专 业: 电子信息工程
班 级: 电子1002班
完成时间: 2014年5月
摘 要
这篇论文整体是在linux下并通过网络实现类似于qq的的一篇操作报告。开发的框是C/S框架,由server端和client端组成,首先设置好端口参数和ip地址,在编译,调试后实现server端与各个client端的连接,连接后以后server端作为中间端来使客户机实现通讯,因为服务器只存在一个但是客户端存在多个所以我们必须通过链表去管理,client端的信息发送通过封装在socket结构体中进行传输。本设计采用TCP/IP协议这样可以保证连接可靠,而且项目管理中釆用linux流行的gcc和makefile编译,大大提高了编译和调试效率,提高了项目完成的效率,但是为了模拟几个client端我们就需要在pc机上再安装一个虚拟系统来操作client端。
本次设计的聊天通信使用全双工,主要实现了功能如:用户的帐号与密码的注册与登录,客户点对点聊天,客户之间的群聊,以及文件的发送与接收。测试运行后的可靠性满足Linux网络聊天的基本要求。关键词:linux, socket, ,server端,client端,网络编程
Abstract
This thesis as a whole is under linux platform and through the local area network to achieve similar qq chat. The overall use of C / S framework, the main server -side and client into two parts , set ip and port number , and Linux, compile and debug procedures to achieve client and server connections each client side , and then as the server -side following transfer to achieve communication between client end . Since only one server -side , and you can have multiple client end , so the server side using a single list to manage multiple client side information , client side encapsulated for transmission of information sent through the body in the socket structure . This design uses the TCP / IP protocol ,so you can ensure reliable connection, but also preclude the use of project management in a popular linux gcc and makefile to compile, compile and debug greatly improved efficiency , improve the efficiency of the completion of the project, but due to simulate multiple client end Therefore, in the operating environment need to install a virtual system on the PC to operate multiple client side .
The chat tool designed for full-duplex communication using communication , to achieve the five main functions: to-peer chat between new user registration an
您可能关注的文档
- 【毕业论文】滑板部件的编程与数控加工-板桥和轮轴部件的编程与数控加工.doc
- 【毕业论文】滑动轴承的设计.doc
- 【毕业论文】化工原理课程设计—蒸汽二次冷凝器.doc
- 【毕业论文】化工专业毕业设计译文(蒸汽重整甲醇提取氢).doc
- 【毕业论文】化工行业工程塑料ERP实施与研究.doc
- 【毕业论文】化归思想在中学数学解题中的应用论文.doc
- 【毕业论文】化合物[Zn0.19Cd0.81(PA)(bpe)0.5(DMA)]n的合成及性能研究.doc
- 【毕业论文】化纤废水污水处理厂设计论文.doc
- 【毕业论文】化学沉淀法处理氨氮废水.doc
- 【毕业论文】化学法、酶法联合降解蟹壳制备壳寡糖的研究论文.doc
1亿VIP精品文档
相关文档
最近下载
- 1幼儿园班级幼儿图书目录清单(大中小班).docx
- 2024年中考生物读图理解专题复习:生物与生物圈综合训练.docx VIP
- 2022年西安美术学院附属中等美术学校(西美附中)入学招生模拟考试数学.docx VIP
- DTE25 MSDS_651338美孚长效液压油.pdf
- 服装厂利润表.docx
- 2023年云南省高等职业技术教育招生考试电工技术(技能考核)试题模拟㈡.docx VIP
- 歌曲《离别开出花》歌词(排版完美打印).docx
- 新一代大学英语基础篇综合教程2答案.docx
- 小学语文部编版四年级下册全册教学反思(2023春).pdf VIP
- 2024年国家义务教育质量监测心理健康和德育考试试题及答案.pdf VIP
文档评论(0)