Say for instance, on receipt of a GET message from a server, the client has to send an arbitrary number of lines, each line ended by the newline character. A line containing only a period (".") followed by newline indicates that the new entries are finished. Similary from server to client also.
Request to clarify this asap as I struct up at this stage.