[ee122] The terminating characters

Richard Schmidt huntingtonsurfca at gmail.com
Mon Sep 17 20:41:27 PDT 2007


Furthermore, if fgets() terminates from stdin, how is the user supposed to
delimit between \n and \r\n anyway? What is the key for that?

---------- 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/20070917/1413cd13/attachment.html 


More information about the ee122 mailing list