Forum Discussion
RokuKC
9 years agoRoku Employee
"ioan" wrote:"EnTerr" wrote:
It will just read (up to) 1000 bytes, I doubt there is any consideration of EOL there,. I am inclined to think of receiveStr() as just a shortcut for doing socket.receive() to a roByteArray and then returning .toAsciiString() off that
So I guess to read to EOL, I'll have to read byte by byte until EOL. It would have been nice if ReadLn was implemented
You could implement that yourself, either as part of your socket protocol if you control it, or by implementing a simple stream/buffering layer on top of socket Receive.