[9fans] Duplicate fids on 9p server

2014-01-19 Thread Amol Dixit
Hi, I am pretty new to 9P and I was attempting to write a basic file server for 9P clients. I am using 9pfuse on the client end to connect to my server. I have a question about *fid* alloction on the server. In the sample server implementation of plan9port lib9p/{ramfs.c, srv.c} … the server c

Re: [9fans] Duplicate fids on 9p server

2014-01-21 Thread Amol Dixit
id map */ struct Fid { ... u32int fidno; /* actual 32-bit fid number chosen by client */ Con* con;/* the Fid belongs to one connection */ File* file; /* the Fid points to a File */ On Jan 19, 2014, at 10:49 PM, Amol Dixit mailto:am...@vmware.com&