Linux 环境下,利用 Socket 通信实现网络聊天程序

上传者: 42278339 | 上传时间: 2021-05-09 22:25:23 | 文件大小: 4.43MB | 文件类型: ZIP
在 Linux 环境下,利用 Socket 通信实现网络聊天程序,主要包括以下功能: ⑴ 写一个 shell 脚本,实现聊天界面的显示、用户的注册、登录(登录后可显示 用户昵称)、聊天方式的选择等功能。 ⑵ 聊天方式分为:公聊和私聊。 ⑶ 实现客户端之间网络传输文件。 ⑷ 保存聊天记录,以备必要时查询。

文件下载

资源详情

[{"title":"( 81 个子文件 4.43MB ) Linux 环境下,利用 Socket 通信实现网络聊天程序","children":[{"title":"chat_room","children":[{"title":"聊天室.pptx <span style='color:#111;'> 836.20KB </span>","children":null,"spread":false},{"title":"~$聊天室.pptx <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"功能构思.md <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"config.c <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"cJSON.h <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"cJSON.c <span style='color:#111;'> 27.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"readme.md <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"Client","children":[{"title":"RecvFile","children":[{"title":"聊天室.pptx <span style='color:#111;'> 837.31KB </span>","children":null,"spread":false},{"title":"chat_room_cli.o <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"Service","children":[{"title":"Group_Srv.h <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"Account_Srv.c <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"Friends_Srv.c <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"Chat_Srv.c <span style='color:#111;'> 9.37KB </span>","children":null,"spread":false},{"title":"Chat_Srv.h <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Connect.h <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Friends_Srv.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Connect.c <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"Account_Srv.h <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"Group_Srv.c <span style='color:#111;'> 7.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"View","children":[{"title":"Main_UI.c <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"Account_UI.c <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Group_UI.c <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Friends_UI.c <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"Group_UI.h <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"Chat_UI.c <span style='color:#111;'> 6.70KB </span>","children":null,"spread":false},{"title":"Chat_UI.h <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"Main_UI.h <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"Account_UI.h <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"Friends_UI.h <span style='color:#111;'> 470B </span>","children":null,"spread":false}],"spread":true},{"title":"Common","children":[{"title":"Common.h <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"libb64","children":[{"title":"Makefile <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"CHANGELOG <span style='color:#111;'> 701B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Makefile <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"cdecode.c <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"cencode.c <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"TODO <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BENCHMARKS <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"b64","children":[{"title":"cencode.h <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"cdecode.h <span style='color:#111;'> 648B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"INSTALL <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false},{"title":"AUTHORS <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":true},{"title":"cJSON.h <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"Common.c <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"cJSON.c <span style='color:#111;'> 27.14KB </span>","children":null,"spread":false},{"title":"List.h <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"chat_room_cli.c <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"config.json <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"聊天室演示.mp4 <span style='color:#111;'> 6.52MB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"Persistence","children":[{"title":"Group_Persist.c <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"Account_Persist.h <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Friends_Persist.h <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"Group_Persist.h <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"MySQL.h <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"Account_Persist.c <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"Friends_Persist.c <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"MySQL.c <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"Chat_Persist.c <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Chat_Persist.h <span style='color:#111;'> 656B </span>","children":null,"spread":false}],"spread":true},{"title":"chat_room_srv.c <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"Service","children":[{"title":"Group_Srv.h <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"Account_Srv.c <span style='color:#111;'> 7.34KB </span>","children":null,"spread":false},{"title":"Friends_Srv.c <span style='color:#111;'> 6.68KB </span>","children":null,"spread":false},{"title":"Chat_Srv.c <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false},{"title":"Chat_Srv.h <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"Connect.h <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"Friends_Srv.h <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"Connect.c <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"Account_Srv.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Group_Srv.c <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"Common","children":[{"title":"Common.h <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"cJSON.h <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"Common.c <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"cJSON.c <span style='color:#111;'> 27.14KB </span>","children":null,"spread":false},{"title":"List.h <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"chat_room.sql <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"config.json <span style='color:#111;'> 129B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明