Iroh: A library to establish direct connection between peers
1–10 of 61 posts
Re: Iroh: A library to establish direct connection between peers
#2Re: Iroh: A library to establish direct connection between peers
#3I was never angry with you. I was sad, because I was afraid you'd lost your route.
Re: Iroh: A library to establish direct connection between peers
#4I just need good FFI now, which is on the roadmap!
Re: Iroh: A library to establish direct connection between peers
#5There's also Dumb Pipe and SendMe which are demos (I believe) built on iroh to showcase some of its uses, and at the workshop we were shown a video of a startup using iroh for video game streaming (something similar to the old OnLive).
From what I understood (in spite of my lack of networking knowledge) and if I remember correctly clients have to be on the same relay (I think there's one for Europe and one for North America) and they use the Bittorent DHT Mainline (I had to google the iroh blog post about it because I forgot the exact name) for discovery. There was some stuff about BGP too, but it went over my head sadly.
I hope somebody more knowledgeable chimes in because iroh is really exciting, I feel like I could throw together a p2p application and it wouldn't be a daunting task due to it.
Re: Iroh: A library to establish direct connection between peers
#6I was never angry with you. I was sad, because I was afraid you'd lost your route.
Re: Iroh: A library to establish direct connection between peers
#7Re: Iroh: A library to establish direct connection between peers
#8I attended a workshop for iroh a while ago and really enjoyed it, and from what I can tell on the Discord server the folks developing it are gearing for a 1.0 release soon-ish. There's also Dumb Pipe and SendMe which are demos (I believe) built on iroh to showcase some of its uses, and at the workshop we were shown a video of a startup using iroh for video game streaming (something similar to the old OnLive). From wh…
Dumb Pipe & Sendme me are indeed demos, we do provide a set of default, public relays to use for free. The relay code is also open source, and if you want to pay us we can run a network for you.
We try to provide a few different options for discovery, the one we think has the most general utility is a custom DNS server, but both local mDNS and Bittorrent Mainline are also pluggable options.
Re: Iroh: A library to establish direct connection between peers
#9hey I work on this! AMA!
With Tailscale this use case is very cumbersome as you’d need to add them to your tailnet and configure access controls to make it an ephemeral connection.
Re: Iroh: A library to establish direct connection between peers
#10hey I work on this! AMA!
Can this be a made to work as an adapter to play older, raw UDP multiplayer games with random strangers? E.g. telling someone in Twitch chat “bro 1v1 me in CS1.6, here’s my Iroh ticket:”, they put it into their “InstaFrag NetDriver” Windows Client and you both launch CS1.6 and just start playing in an ad-hoc p2p lobby. With Tailscale this use case is very cumbersome as you’d need to add them to your tailnet and confi…
We could adapt the pattern from dumbpipe wrapping a TCP listner: https://github.com/n0-computer/dumbpipe?tab=readme-ov-file#t... which is exactly the "here join this ticket" you're describing