Writing with and reading until \r\n
