基于Linux的socket网络编程聊天工具课程设计
《基于Linux的socket网络编程聊天工具课程设计》由会员分享,可在线阅读,更多相关《基于Linux的socket网络编程聊天工具课程设计(31页珍藏版)》请在毕设资料网上搜索。
1、I 摘摘 要要 这个课程设计整体采用在 linux 平台下, 在同一局域网内实现聊 天功能。整体框架主要分为服务端和客户端两个部分,设置好 ip 和 端口号, 在 Linux 下编译和调试两主大块程序,实现服务端和客户端 的连接,然后以服务端作为中继转实现客户端之间的通信。使用 socket 网络编程采用 TCP/IP 协议保证连接可靠,并在项目管理中采 用 linux 流行的 gcc 和 makefile 编译,提高了编译和调试效率,加 快了项目的完成速度。 本次设计的聊天工具采用字符串命令行的方式进行通信,主要 实现了五个功能:用户之间一对一的聊天、编辑、换行、用户之间聊 天记录保存、聊天
2、记录调取。经过测试,程序运行可靠,能满足在 linux 中实现网络聊天的要求。 关键词 linux,socket,gedit,服务端,客户端,网络编程 II AbstractAbstract The course design of the overall use in the Linux platform, within the same LAN chat functions.Overall framework consists of server and client two parts, set up IP and port number, two main large program
3、under Linux compiling and debugging, to connect server and client, and then turn to the server as a relay to realize the communication between the client.Use the socket network programming using TCP/IP protocol to ensure reliable connect, and using Linux popular GCC in project management and compile
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 Linux socket 网络 编程 聊天工具 课程设计
