irungentoo / toxcore

The future of online communications.
https://tox.chat/
GNU General Public License v3.0
8.74k stars 1.27k forks source link

fast lossless UDP protocol #570

Closed joshuaar closed 8 years ago

joshuaar commented 11 years ago

I'm not sure where you guys are at regarding your UDP protocol, but I thought I'd leave this here in case anybody is interested. I've used it before with hole punching and it works quite well.

http://udt.sourceforge.net/

subscribernamegoeshere commented 11 years ago

the novinet/maidsafe guys have for many years their formerly maidsafe-dht called libary that does exactly these things. by now its renamed to RUDP (reliable udp), there is also my issue/question over there where I hinted these things: https://github.com/irungentoo/ProjectTox-Core/issues/560

http://www.novinet.com/library-rudp

have fun.

joshuaar commented 11 years ago

Wow this is great I had no idea this existed.

On Wed, Sep 11, 2013 at 1:47 AM, subscribername goes here < notifications@github.com> wrote:

the novinet/maidsafe guys have for many years their formerly maidsafe-dht called libary that does exactly these things. by now its renamed to RUDP (reliable udp), there is also my issue/question over there where I hinted these things: #560https://github.com/irungentoo/ProjectTox-Core/issues/560

http://www.novinet.com/library-rudp

have fun.

— Reply to this email directly or view it on GitHubhttps://github.com/irungentoo/ProjectTox-Core/issues/570#issuecomment-24221782 .

synctext commented 11 years ago

There is now an upcoming "IETF Internet Standard" for fast loss-less UDP transfers: http://datatracker.ietf.org/doc/draft-ietf-ppsp-peer-protocol/ This specifically supports serverless NAT hole punching (beyond mere STUN/TURN).

My research team created this UDP transfer engine [3 years of work]: https://github.com/tribler/libswift Works also on Android and other embedded devices.

irungentoo commented 11 years ago

The secure connection stuff and lossless UDP might be replaced in the future by http://curvecp.org/ (if they ever finish writing the implementation.)

landswellsong commented 9 years ago

@synctext Hello. One question about that, is there a plain C implementation out there?

SafwatHalaby commented 9 years ago

There's also Google's QUIC.