...
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 | ||
---|---|---|
| ||
eol = CreateObject("roByteArray") eol.Push(0) mp = CreateObject("roMessagePort") client = CreateObject("roTCPStream") client.SetReceiveEol(eol) client.SetLineEventPort(mp) |
...