[ee122] The terminating characters

Richard Schmidt huntingtonsurfca at gmail.com
Tue Sep 18 00:03:50 PDT 2007


After reading more Beej's and spending hours coding it anyway, I've decided
that this is possible and I should account for it.

However, I don't know if I am actually supposed to print the \r\n or I am
only supposed to pring a \n.

This is a more dire question.

Thanks,
Rick

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


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 :)
Rick

---------- 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.

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


More information about the ee122 mailing list