On Sun, 13 Oct 2002 09:06:23 +1300 "Graham Chiu" <[EMAIL PROTECTED]> wrote:
This function reads from the POP port until it retrieves only a ".". I was thinking of returning the buffer if the expected number of chars are retrieved as an additional check.Hmm. That doesn't work. Although RFC1939 says
"In order to simplify parsing, all POP3 servers are
required to use a certain format for scan listings.
A scan listing consists of the message-number of the
message, followed by a single space and the exact size
of the message in octets."
the size calculation depends upon how the pop server internally represents the end-of-line.
--
Graham Chiu
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
