Re: line feed and carriage return



On Wed, 27 Feb 2008 01:17:55 -0800 (PST), belletti.stefano@xxxxxxxx wrote:
The question is: is there a way to have the "end of line" system
independent ?

Text based protocols typically define EOL as CRLF, regardless of
client or server platform. The important thing is that the server and
all clients are in agreement.

But that means that your components shouldn't rely on PrintWriter to
do the right thing, they should add EOL (as defined by the protocol)
explicitly when transmissing strings.

/gordon

--
.



Relevant Pages

  • Re: Socket Server with Encryption help
    ... After reading your post I got a very strong suspicion that regardless of your saying that you read "a lot of papers about Symmetric, Asymmetric, Hash, Envelope and Signature" you didn't read even distantly enough to be able to implement something even distantly secure. ... The classical paper on three party authenticated protocols design was written by Needham and Schroeder "Using encryption for authentication in large networks of computers" in 1978, where they described several protocols, one of witch was modified, strengthened and extended a bit later to become what is now known as Kerberos. ... I've started to develop a server and client socket classes with encryption. ...
    (microsoft.public.dotnet.security)
  • Re: Socket Server with Encryption help
    ... Authentication protocols are fiercely difficult to get right. ... "Practical Cryptography" book, that was suggested to you earlier, could be ... Client connects into Server and Server accepts the connection. ...
    (microsoft.public.dotnet.security)
  • Re: Socket Server with Encryption help
    ... The thing is that protocols are more difficult than encryption! ... Protocols are much more delicate and difficult than encryption. ... Before the client ... Client connects into Server and Server accepts the connection. ...
    (microsoft.public.dotnet.security)
  • Re: Socket Server with Encryption help
    ... I think Microsoft must put an advice on Cryptography namespace sayng: ... Authentication protocols are fiercely difficult to get right. ... Client connects into Server and Server accepts the connection. ...
    (microsoft.public.dotnet.security)
  • Re: How many?
    ... because the client would likely get confused with what identity it was ... Exchange server. ... Configure Outlook to open your primary using MAPI ... (we'll discount mixing protocols, including soup can protocols because we ...
    (microsoft.public.exchange.setup)