1 Star 0 Fork 0

gpro131 / USocket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Zlib

USocket

介绍

UDP Socket Library. for large packet and reliable network v0.0.1

  1. 实现分包发送以及分包合并。

软件架构

UServerSocket UClientSocket

安装教程

头文件包含即可

使用说明

头文件包含即可

计划

1.CRC 循环冗余校验 确认应答. 根据实际情况可加入md5.
2.Compress,可压缩 可选,具体看情况,毕竟一般音视频传输完接收到再解压缩。
3.设置超时时间
4.Packet 单元传输
5.MultiChannel 多通道
6.Reliable Ordered 可靠有序排列
7.CrossPlatform //main for windows
8.加入发送接收缓存区域。 // 根据socket的特点
TCP: 粘包,流式发送
UDP: 不可靠,分包
本网络库结合实际业务逻辑使用,实现如上功能。
当然如果前面顺利,可以继续重构。

zlib License (C) 2021 yang This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

简介

UDP Socket Library. for large packet and reliable network 展开 收起
C++ 等 2 种语言
Zlib
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/GProReat/usocket.git
git@gitee.com:GProReat/usocket.git
GProReat
usocket
USocket
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891