Harvey-OS / ninep

Package for implementing clients and servers of the 9P and 9P2000 distributed resource protocols in Go.
Other
39 stars 19 forks source link

Server for any io.ReadCloser/io.WriteCloser #38

Open sirnewton01 opened 6 years ago

sirnewton01 commented 6 years ago

I am hoping to use this library to write Go-based servers that can be accessed via other means than a TCP port, such as bidirectional pipes or even a serial port. If it's feasible, I can contribute the changes as PR. Is there some reason that I can't foresee why this wouldn't work? The client seems to be able to work with them.

larryr commented 6 years ago

9p has worked over serial; there is an assumption of a reliable, in-order, transport. Back in the inferno days there were 9p servers used over serial.

On Jul 30, 2018, at 7:15 PM, Chris McGee notifications@github.com wrote:

I am hoping to use this library to write Go-based servers that can be accessed via other means than a TCP port, such as bidirectional pipes or even a serial port. If it's feasible, I can contribute the changes as PR. Is there some reason that I can't foresee why this wouldn't work?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Harvey-OS/ninep/issues/38, or mute the thread https://github.com/notifications/unsubscribe-auth/AFdom2acjO5MqPMPsck8rFvBF_n9kZmuks5uL5N8gaJpZM4VnVMk.

sirnewton01 commented 6 years ago

I think it has to be full-duplex as well. I have heard of someone trying to implement it over a hardware SPI interconnect as another example.