[ee122] The terminating characters

Richard Schmidt huntingtonsurfca at gmail.com
Mon Sep 17 21:48:29 PDT 2007

Is it possible for the server to somehow send an entire message and then
some of a possible next message to the client?

sent[2/3  A]
sent[1/3 A + 1/2 B]
sent[1/2 B]

If so, we'd have to scan the recieved message for the appropriate message
break, pack it all up, reset the buffer align, and then start filling it
again with the other part of the message.

This seems like not part of the function or design of the interactions, but
I was wondering if it can happen. I thought we assumed it was in a talk back
interface where each waits for a message from the other before being able to
send more information.

Hopefully I didn't give you more to grade us on :)

---------- Forwarded message ----------
From: Richard Schmidt <huntingtonsurfca at gmail.com>
Date: Sep 17, 2007 6:57 PM
Subject: The terminating characters
To: ee122 at icsi.berkeley.edu

You keep referring to \r\n as the way we know that the server/client has
finished transmitting.

Are these two characters? Right now, I'm only looking for a \n character. I
don't quite understand what a CRLF or \r\n, I was guessing that they are the
same as a newLine, and since the server only echoes back one line, this
should be okay?

Any help would be great.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20070917/c761a2fa/attachment.html 

More information about the ee122 mailing list