MNetSocket-Python.zip

上传者: 41959920 | 上传时间: 2021-04-01 22:02:52 | 文件大小: 41KB | 文件类型: ZIP
本项目是一个只有4份Python3代码的小工程,可用来学习基于TCP的套接字通信包,集中研究自定义通信协议,处理分包和粘包的能力。项目内置一个服务端和客户端程序,还有一份用来测试分包和粘包处理能力的测试代码。整个工程基本基于良好的面向对象思想,代码注释清晰简洁,非常便于理解。

文件下载

资源详情

[{"title":"( 41 个子文件 41KB ) MNetSocket-Python.zip","children":[{"title":"MNetSocket-Python","children":[{"title":".git","children":[{"title":"info","children":[{"title":"exclude <span style='color:#111;'> 240B </span>","children":null,"spread":false}],"spread":true},{"title":"objects","children":[{"title":"pack","children":[{"title":"pack-95a77a981c3ad8433f6dc178f65c2651b9a6e519.pack <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"pack-95a77a981c3ad8433f6dc178f65c2651b9a6e519.idx <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"info","children":null,"spread":false},{"title":"1e","children":[{"title":"6b20fb1af185a9a958b98182487efa56d6bd82 <span style='color:#111;'> 250B </span>","children":null,"spread":false}],"spread":true},{"title":"25","children":[{"title":"f95fd5e99ad4e94cda73a87a19561c072a614b <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"f5","children":[{"title":"e213752b6429c42e54993899808615a5b6a827 <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"12","children":[{"title":"d2ecba9b54ca5c67d0966db46d093981c5db1a <span style='color:#111;'> 192B </span>","children":null,"spread":false}],"spread":true},{"title":"80","children":[{"title":"423982de8a858571586cfc765f3cc8abf75f1a <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"61","children":[{"title":"81d242524c21c17e7bda0fdb1ca2c85ff78f4a <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":true},{"title":"bc","children":[{"title":"4188d1266e6158ee6ddf976ae7a92bdf7fee6a <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"HEAD <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"description <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"packed-refs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"config <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"index <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"tags","children":null,"spread":false},{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"main <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"heads","children":[{"title":"main <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"COMMIT_EDITMSG <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"hooks","children":[{"title":"commit-msg.sample <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"pre-receive.sample <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"fsmonitor-watchman.sample <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"pre-rebase.sample <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"prepare-commit-msg.sample <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"update.sample <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"pre-push.sample <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"pre-commit.sample <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"pre-merge-commit.sample <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"post-update.sample <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"applypatch-msg.sample <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"pre-applypatch.sample <span style='color:#111;'> 424B </span>","children":null,"spread":false}],"spread":false},{"title":"FETCH_HEAD <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"logs","children":[{"title":"HEAD <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"main <span style='color:#111;'> 186B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"heads","children":[{"title":"main <span style='color:#111;'> 455B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false},{"title":"MsgProtol.py <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"testPack.py <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"ServerSocket.py <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"ClientSocket.py <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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