Some protocols, e.g. TCP, do not not guarantee to keep message boundaries. One common approach to distinguish such messages is Length Prefixing, which prepends each message with its length.
Try out the examples in the examples folder using the binder service. The package can also be installed on Google Colab using the commands: The easiest way to get started with the Control Systems ...