module MaxCube::Messages::TCP

This module contains classes aimed onto TCP messages of Cube protocol.

Structure of every TCP Cube message:

As all messages are being split by +\r\n+, it does not occur in single message processing, only in raw data processing. @example

X:message\r\n

Constants

MSG_MAX_LEN

Maximum length of TCP Cube message without +\r\n+ (with it it would be 1900)