I have checked the source, the line break separator is actually \r\n.
In 1.4.7. In older sources QS checks the system property for the OS
default. Not anymore. Only \r\n.
If I send from telnet "whatever\r\n\whateverelse\r\nsomeothertext"
This string is understood by QS as one command?? And I cannot parse a
multiline command in QS. It must be an unique line. Its how my QS
implementation should work.
How does telnet and QS work together? What does telnet adds in
windows? Why doesn't telnet successfully work with \r\n?
And why doesn't it work to send "whatever\r\n\whateverelse\r
\nsomeothertext\r\n" in a PrintWriter with its print method and NOT
the println?? In a java socket test (java.io)?
String s = "whatever"+System.getProperty("line.separator");
Note: I do not want to use println method on printwriter. It should be
possible to not use println? To just append the \r\n myself?
I am on windows, so the default is \r\n. But I feel lost in the
testing as its impossible to send one string to the server and expect
it to wait for next line break before it understand it as a complete
This sucks really bad. But I think its an integration problem.