Skip to content

liexusong/udt-c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDT Implementation in C

Codacy Badge

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

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

  • Implement architecture.
  • Implement basic API.
  • Implement handshake.
  • Use threads for sender/receiver.
  • Implement data packet handling.
  • 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.

References

License

MIT

About

A basic implementation of UDT in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.7%
  • Makefile 3.3%