• UDTSimple: a simple server and client based on UDT
    1 replies, posted
Sorry if it is sort of crummy, but it is my first GTK+ application. First, UDT is a data tranfer protocol in UDP. From their site: [quote] UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications over wide area high-speed networks. UDT uses UDP to transfer bulk data with its own reliability control and congestion control mechanisms. The new protocol can transfer data at a much higher speed than TCP does. UDT is also a highly configurable framework that can accommodate various congestion control algorithms. [/quote] Now here are my programs: [URL=http://img839.imageshack.us/i/loling.png/][IMG]http://img839.imageshack.us/img839/7719/loling.png[/IMG][/URL] Here is the tarball: [url]https://github.com/Lalaland/UDTSimple/tarball/master[/url] The libudt.a version in the repository is for Linux 64-bit. The Linux 32-bit libudt.a is in the 32bit folder. Replace the 64-bit one in lib/ with it if you are on a 32bit machine To compile, just download the repo, cd to it then type: [code] cmake . make [/code] I do not know how to compile it on windows, but UDT is cross-platform so it theoretically is possible. The github is here: [url]https://github.com/Lalaland/UDTSimple[/url] Three major bugs remain: When you disconnect from the server, the files stay in the list. I tried clearing the list, but it did not work. Attemping to download one of these is a crash. Quiting one of the applications mid transit is a crash. Quiting at any time throws some exceptions, but just ignore them. Total code size: 1255 lines
[quote]UDT uses UDP to transfer bulk data with its own reliability control and congestion control mechanisms[/quote] What's the point of using UDP if you're going to emulate TCP? [editline]29th November 2010[/editline] But otherwise, nice work.
Sorry, you need to Log In to post a reply to this thread.