Re: Session Greeting Message Format

Daniel Lundin <[email protected]> 01 Aug 2002 13:47:35 +0200
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Rajesh Madabhushi <[email protected]> writes:

> Is it required to terminate 'greeting' element, exchanged during session
> establishment, with CR LF ?  I think in each line of  BEEP Payload must
> terminate CR LF.
*SNIP*
> But in the current implementation of RoadRunner Core, greeting message header
> is just terminated with '\n' instead of '\r\n'. Is it correct ?

No.

'\r\n' termination should be properly done throughout the implementation.

Perhaps your assumption is based on the debug output? If so, remember that
your terminal might convert or strip unnecessary line termination characters. 
For example, this means that if you using the mouse in X mark and copy text
from an xterm, you won't be getting a true copy of the actual data.

/D

-- 
Daniel Lundin  | [email protected]
CodeFactory AB | http://www.codefactory.se/