Re: Message-passing via local ports
- Posted by katsmeow Feb 02, 2021
- 1018 views
I forgot and had to go way afk, just got back... the message format : i have been passing only flat data, that is: one-level sequences, integers, atom booleans. Passing a 0 (zero) might mess you up, if it's interpreted as a null terminator. There's various ways to deal with messages and error detection and correction, i think it's a whole science by itself : "How To Trick The OS Into Letting You Program It". There's libraries in the archives for some issues, such as flattening nested sequences and unflattening them.
Kat