<div>After reading more Beej&#39;s and spending hours coding it anyway, I&#39;ve decided that this is possible and I should account for it.</div>
<div>&nbsp;</div>
<div>However, I don&#39;t know if I am actually supposed to print the \r\n or I am only supposed to pring a \n.</div>
<div>&nbsp;</div>
<div>This is a more dire question.</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Rick<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Richard Schmidt</b> &lt;<a href="mailto:huntingtonsurfca@gmail.com">huntingtonsurfca@gmail.com</a>&gt;
<br>Date: Sep 17, 2007 9:48 PM<br>Subject: The terminating characters<br>To: <a href="mailto:ee122@icsi.berkeley.edu">ee122@icsi.berkeley.edu</a><br><br>&nbsp;</span></div>
<div>Is it possible for the server to somehow send an entire message and then some of a possible next message to the client?</div>
<div>&nbsp;</div>
<div>sent[2/3&nbsp; A]</div>
<div>sent[1/3 A + 1/2 B]</div>
<div>sent[1/2 B]</div>
<div>&nbsp;</div>
<div>If so, we&#39;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.</div>
<div>&nbsp;</div>
<div>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. 
</div>
<div>&nbsp;</div>
<div>Hopefully I didn&#39;t give you more to grade us on :)</div>
<div>Rick<span class="q"><br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Richard Schmidt</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:huntingtonsurfca@gmail.com" target="_blank">
 huntingtonsurfca@gmail.com</a>&gt;<br>Date: Sep 17, 2007 6:57 PM <br>Subject: The terminating characters<br>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ee122@icsi.berkeley.edu" target="_blank">
ee122@icsi.berkeley.edu</a><br><br>&nbsp;</span></span></div>
<div><span class="e" id="q_11516f228fec398c_3">
<div>You keep referring to \r\n as the way we know that the server/client has finished transmitting.</div>
<div>&nbsp;</div>
<div>Are these two characters? Right now, I&#39;m only looking for a \n character. I don&#39;t quite understand what a&nbsp;CRLF&nbsp;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? 
</div>
<div>&nbsp;</div>
<div>Any help would be great.</div>
<div>&nbsp;</div>
<div>Rick</div></span></div>