Remix.run Logo
saberience 7 hours ago

This page is basically useless in explaining what Iroh is or does and why I should care.

bel8 7 hours ago | parent | next [-]

As 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

    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 6 hours ago | parent [-]

I would love to see that P2P DNS you are talking about

bel8 3 hours ago | parent [-]

Perhaps it doesn't exist because there's no real need.

embedding-shape 7 hours ago | parent | prev | next [-]

Such 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 6 hours ago | parent [-]

Did we choose, or was that the link we were given that introduced us to it.

embedding-shape 6 hours ago | parent [-]

The 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 7 hours ago | parent | prev [-]

This 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.