Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 compatibility #15

Open
marmos91 opened this issue Jan 31, 2017 · 6 comments
Open

IPv6 compatibility #15

marmos91 opened this issue Jan 31, 2017 · 6 comments

Comments

@marmos91
Copy link

marmos91 commented Jan 31, 2017

Would be nice to have IPv6 compatibility in order to use remote address formatted in that way as your own error tell us:

Only IPv4 is supported currently. Open an issue for IPv6 support

Thank you for your work.

@CMCDragonkai
Copy link

What would it take to support ipv6? Is this an issue in the underlying utp library or just due to this utp-native?

Also I noticed that using IPV6 addresses causes the listen to hang.

@kasperisager
Copy link

For the record, https://github.com/hyperswarm/libudx has full support for IPv6.

@CMCDragonkai
Copy link

@kasperisager how ready is libudx and why not make use of QUIC?

@kasperisager
Copy link

It's been pretty stable for a while and is actively used in Hyperswarm. Compared to both TCP and QUIC, UDX is extremely simple, adding only a thin layer on top of UDP to provide reliable and ordered streams.

@mafintosh
Copy link
Owner

It's all about P2P first. We need a transport that support holepunching at the core of it. That means traditional handshakes are out the window. It also means you need more flexibility about crypto, so you can run handshakes outside the ordered streams. UDX was born to solve this. Like @kasperisager said, it's simple, does what it needs to do (and does it fast!) and is not a quic replacement or anything like that - it's a p2p-first ordered stream library written in c.

@CMCDragonkai
Copy link

Interesting we were evaluating QUIC as a replacement. But do you have a roadmap for libudx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants