ninep icon indicating copy to clipboard operation
ninep copied to clipboard

Server for any io.ReadCloser/io.WriteCloser

Open sirnewton01 opened this issue 7 years ago • 2 comments

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.

sirnewton01 avatar Jul 30 '18 23:07 sirnewton01

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 [email protected] 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.

larryr avatar Jul 30 '18 23:07 larryr

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.

sirnewton01 avatar Jul 31 '18 00:07 sirnewton01