3 ms·
This page is basically useless in explaining what Iroh is or does and why I should care.
by saberience 4mo ago
This page is basically useless in explaining what Iroh is or does and why I should care.
- bel8 4mo agoAs I see, it tries to explain. But as someone who's not a network specialist, I fail to see how this is not a glorified P2P DNS. Maybe this example helps: https://github.com/n0-computer/iroh#rust-library https://github.com/n0-computer/iroh#rust-library const ALPN: &[u8] = b"iroh-example/echo/0"; let endpoint = Endpoint::bind().await?; // Open a connection to the accepting endpoint let conn = endpoint.connect(addr, ALPN).await?; // Open a bidirectional QUIC stream let (mut send, mut recv) = conn.open_bi().await?; // Send some data to be echoed send.write_all(b"Hello, world!").await?; send.finish()?; // Receive the echo let response = recv.read_to_end(1000).await?; assert_eq!(&response, b"Hello, world!"); // As the side receiving the last application data - say goodbye conn.close(0u32.into(), b"bye!"); // Close the endpoint and all its connections endpoint.close().await;
- dignifiedquire 4mo agoI would love to see that P2P DNS you are talking about
- bel8 4mo agoPerhaps it doesn't exist because there's no real need.
- embedding-shape 4mo agoSuch is life when you choose to be introduced to something by a version update blogpost, instead of clicking in the top-left corner and reading the landing page.
- SubiculumCode 4mo agoDid we choose, or was that the link we were given that introduced us to it.
- embedding-shape 4mo agoThe whole experience is fully interactive and you get to chose your own adventure! If you get lost, top-left corner is a safe bet to go to the initial page. Welcome to the internet and enjoy :)
- pseudalopex 4mo agoThis is true. But you could click the name in the top left. Or Docs. IP addresses break, dial keys instead Modular networking stack for direct, peer-to-peer connections between devices iroh establishes direct connections whenever possible, falling back to relay servers if necessary. Get fast, efficient, reliable connections that are authenticated and encrypted end-to-end using QUIC.