contiguousness of responses

Danan Sudindranath <dananjs@umich.edu> Wed, 04 June 1997 02:11 UTC

Received: from cnri by ietf.org id aa21701; 3 Jun 97 22:11 EDT
Received: from lists3.u.washington.edu by CNRI.Reston.VA.US id aa15831; 3 Jun 97 22:11 EDT
Received: from host (lists.u.washington.edu [140.142.56.13]) by lists3.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05) with SMTP id TAA21643; Tue, 3 Jun 1997 19:04:16 -0700
Received: from mx2.u.washington.edu (mx2.u.washington.edu [140.142.32.7]) by lists.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05) with ESMTP id TAA63306 for <imap@lists.u.washington.edu>; Tue, 3 Jun 1997 19:03:21 -0700
Received: from donkeykong.rs.itd.umich.edu (smtp@donkeykong.rs.itd.umich.edu [141.211.63.19]) by mx2.u.washington.edu (8.8.4+UW96.12/8.8.4+UW97.04) with ESMTP id TAA23207 for <imap@u.washington.edu>; Tue, 3 Jun 1997 19:03:20 -0700
Received: by donkeykong.rs.itd.umich.edu (8.7.5/3.0-mailhub) id WAA21525; Tue, 3 Jun 1997 22:03:17 -0400 (EDT)
Received: from dananjs@seawolf.rs.itd.umich.edu(141.211.63.88) by donkeykong.rs.itd.umich.edu via smap (2.0-umich) id xma021515; Tue, 3 Jun 97 22:03:11 -0400
Received: from localhost by seawolf.rs.itd.umich.edu (8.7.5/3.0-client)
Message-Id: <Pine.SOL.3.95.970603214545.20744A-100000@seawolf.rs.itd.umich.edu>
Date: Tue, 03 Jun 1997 22:03:10 -0400
Sender: IMAP-owner@u.washington.edu
Precedence: bulk
From: Danan Sudindranath <dananjs@umich.edu>
To: imap@u.washington.edu
Subject: contiguousness of responses
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
X-Sender: dananjs@seawolf.rs.itd.umich.edu
X-Listprocessor-Version: 8.1 beta -- ListProcessor(tm) by CREN

Hello again to everyone,

My question this time is not quite as idiotic as my last few.  (I'm
getting a hang of this imap thing). 

RFC 2060 states that the client should be prepared for unilateral server
responses (unsolicited).  Does this mean that an unsolicited response can
appear amid a set of sequential related responses?

for example, would this occur:

C: a003  SELECT INBOX
S: * 12 EXISTS
S: * 0 RECENT
S: * OK [UNSEEN 12] 
S: * ...
S: * ...
S: * SOME UNSOLICITED OR UNRELATED RESPONSE
S: * ...
S: * ...
S: a003 OK[READ-WRITE] SELECT completed

or would the server make sure that the data it sends between 
the client command and the tagged server completion response
are only related to the current command?

thanks for any suggestions.

Oh, and one more question.  Right now my receiving data buffer is 4K. This
seems to work fine now, but is this the proper size to use, or is there
some known standard of how big to make the data buffer?

thanks.

-Danan Sudindranath