# UDT Implementation in C
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/212e3f610f6149dca8e66b0e75e97abe)](https://app.codacy.com/app/UtkarshMe/udt-c?utm_source=github.com&utm_medium=referral&utm_content=UtkarshMe/udt-c&utm_campaign=badger)
An implementation of the **UDP-based Data Transfer (UDT)** protocol in C.
UDT is a much faster data transfer protocol than TCP and provides a socket
interface to send/receive data just like any other protocol.
The documentation can be found in the header files (see `include/udt.h`).
### How to
```bash
make # compile
make clean # cleanup
export LD_LIBRARY_PATH=./src/:$LD_LIBRARY_PATH # export the library path
progs/server # start the server
progs/client # start the client
progs/sendfile # start the sendfile server
progs/recvfile "file/to/get" "file/to/saveas" # receive the file
```
### Progress
- [x] Implement architecture.
- [x] Implement basic API.
- [x] Implement handshake.
- [x] Use threads for sender/receiver.
- [x] Implement data packet handling.
- [x] Implement `sendfile`, `recvfile`.
- [ ] Implement timer and use it to send various packets.
- [ ] Make this work with an existing UDT implementation.
- [ ] Implement a congestion control algorithm.
### Bugs, suggestions
Please report bugs, suggestions [here](https://github.com/utkarshme/udt-c/issues).
### References
- Yunhong Gu and Robert L. Grossman, UDT: UDP-based Data Transfer for High-Speed Wide Area Networks, Computer Networks (Elsevier). Volume 51, Issue 7. May 2007.
- UDT Implementation in C++ : [http://udt.sourceforge.net/software.html](http://udt.sourceforge.net/software.html).
- UDT Manual : [http://udt.sourceforge.net/udt4/](http://udt.sourceforge.net/udt4/).
### License
MIT
UDT-C,UDT库C语言版本
需积分: 35 118 浏览量
2022-02-18
11:45:42
上传
评论
收藏 18KB ZIP 举报
Fanle_Weber
- 粉丝: 2
- 资源: 10
最新资源
- oracle 触发器语法及 for each row 详细说明
- 微信小程序-豆瓣图书源码
- Fragment - Unknow animation name objectAnimator 问题解决及源码分析
- 词向量-中文文本相似度计算-采用text2vec词向量工具进行计算对比.zip
- 521293804316625base(1).apk
- ARP IP地址分类及特殊IP
- 【MySQL补丁】vcredist-x64xz MySQL必备插件
- 基于SG3525芯片PWM控制推挽隔离DCDC电源模块AD09设计硬件(原理图+PCB)工程文件.zip
- Word_20240428_092324.docx
- cloudcc_v1.1.10-release_sign.apk
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0