The port is annoying, especially when running multiple irohs on one machine, and in tests.
I think with https://crates.io/crates/interprocess we could have a platform independent way to do use a local socket. How it would work: you create a file in .iroh. On unix this is an unix domain socket. On windows, this is the name of a named pipe. Supposedly win11 even supports UDS, but we will have to support win10.
We just need a quic-rpc transport that uses interprocess. Does not have to be extremely fast, since we don't send the data over this channel anymore.
The port is annoying, especially when running multiple irohs on one machine, and in tests.
I think with https://crates.io/crates/interprocess we could have a platform independent way to do use a local socket. How it would work: you create a file in
.iroh
. On unix this is an unix domain socket. On windows, this is the name of a named pipe. Supposedly win11 even supports UDS, but we will have to support win10.We just need a quic-rpc transport that uses interprocess. Does not have to be extremely fast, since we don't send the data over this channel anymore.