Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can pass either a string or a roByteArray instance to the ifStreamReceive.SetReceiveEol method. This means that a NUL byte can be used as a line terminator:

Code Block
languagejavajs
eol = CreateObject("roByteArray")
eol.Push(0)
mp = CreateObject("roMessagePort")
client = CreateObject("roTCPStream")
client.SetReceiveEol(eol)
client.SetLineEventPort(mp)

...