Re: [9fans] Fwd: Multiplexing Styx/9P2000 over TCP connections

2016-03-03 Thread Charles Forsyth
> So, I've been looking at the source code of Inferno, and I've noticed > that, when mount(1) wants to connect to a Styx/9P2000 server on a remote > machine, it generally opens up a new TCP connection... one for each new > mount... even if it's just an additional connection to the same service > on

Re: [9fans] Fwd: Multiplexing Styx/9P2000 over TCP connections

2016-03-03 Thread Charles Forsyth
On 3 March 2016 at 02:09, wrote: > I recently posted the following to the Inferno mailing list (but > received no response). I'm re-posting here, as this applies to Plan 9 > just as much as to Inferno, anyway... > Sorry. You asked some interesting questions but I was busy with something else wh

Re: [9fans] Fwd: Multiplexing Styx/9P2000 over TCP connections

2016-03-03 Thread Kenny Lasse Hoff Levinsen
On plan9, you use srv to add the connection as a file to /srv, then mount the file. Mount does not make TCP connections (although srv can call mount for you as a convenience feature). Multiplexing requires ensuring that tag and fid collisions do not occur, either with coordination or translatio