coditva / udt-c Goto Github PK
View Code? Open in Web Editor NEWA basic implementation of UDP-based Data Transfer protocol (UDT) in C
License: MIT License
A basic implementation of UDP-based Data Transfer protocol (UDT) in C
License: MIT License
Right now, there is no system for the same.
it never works. basic file transfer fails
In all implementations of UDT available online including this one, I only see the client is sending data. When I tried the client receive data, it never gets data. Is there any reason for this behavior in UDT?
update:
To further add even running the sample prog. - https://github.com/coditva/udt-c/blob/master/progs/recvfile.c - the received file is 0 bytes (i.e. the file gets created but the client program receiving the file never gets data on udt_recvfile()
. Thus the file has no contents, and the recvfile program never closes/terminates, while the sender has terminated).
Right now, there is no support for sending timed packets like ACK
and Keep-alive
etc. ACK
is send a complete data segment is sent. This is not the actual UDT behavior.
Right now, docs are only what is present in the header files. Make separate docs that can be used easily.
Right now, the handshake is done, then the client aborts and sends a shutdown packet.
Link: sourceforge
Right now, only one client can connect to the server at the given socket. If any other client sends the data, it'll either get ignored or worse, overtake the current client.
Right now, data is just received and put in buffer without any checks.
Keep a loss list and send NAK
s for lost packets. Keep a sender's loss list for lost packets and re-transmit them when needed.
When large data is sent, it gets divided into two parts. The first packet is always on its own.
And there is some loss:
24 chars are lost between first buffer returned by udt_recv
and the next when packet data size is 1024.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.