- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2014届毕业设计说明书
学 院: 电气与信息工程学院
学生姓名:
指导教师: 职称 讲师
专 业: 电子信息工程
班 级: 电子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 and login, user , group ch
您可能关注的文档
- 基于JSP的高校图书管理系统的开发与设计 毕业设计论文.doc
- 基于JSP的公交查询系统设计与实现 毕业论文.doc
- 基于JSP的精品课程网站的设计与实现 毕业论文.doc
- 基于JSP的客户关系管理系统开发和设计 毕业设计.doc
- 基于JSP的库存管理系统 毕业论文.doc
- 基于JSP的企业员工管理软件的设计与实现 毕业设计论文(计算机类).doc
- 基于JSP的汽车租赁管理系统 毕业设计.doc
- 基于JSP的人事管理系统 毕业设计.doc
- 基于JSP的社交网站的研发 毕业设计论文.doc
- 基于JSP的饲料销售管理系统 毕业论文.doc
- 基于Linux操作系统的邮件服务器架设 计算机专业毕业论文.doc
- 基于Linux的Apache服务器设计与实现 毕业设计论文.doc
- 基于Linux的服务器平台搭建 毕业论文.docx
- 基于linux的嵌入式流媒体点播系统 毕业论文.doc
- 基于Linux系统下开发的餐厅点菜系统 毕业设计论文.doc
- 基于linux下多媒体播放器的设计与实现 毕业论文.doc
- 基于linux下智能手机的设计与制作 毕业设计.doc
- 基于loadruuner的压力测试与实现——图书馆管理系统 毕业论文.doc
- 基于Logistic混沌算法的动态口令芯片设计 毕业论文.doc
- 基于LPC1700的USB针式打印机 毕业论文.doc
原创力文档


文档评论(0)