From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <466d420c1351988780ba61464ddf782e@terzarima.net> From: Charles Forsyth Date: Tue, 10 Apr 2007 18:39:35 +0100 To: 9fans@cse.psu.edu Subject: Re: [9fans] 9P2000 and p9p In-Reply-To: <461BC57B.3090006@tecmav.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 432931c8-ead2-11e9-9d60-3106f5b1d025 >Why the client always sends a second Tread request ? >If the Rread returned 281/8192 bytes and the msize is > 8192 it should >be clear that there is no other data to read. no, because in general data can be returned as discrete messages (or records) of different sizes. for instance with /net/cs and /net/dns each read returns a single recipe for making a connection or a single translation of a name. it's true on unix too: think of a magnetic tape drive (probably you can a description in wikipedia if you never saw one).