maxClientIdentifierLength constant

int const maxClientIdentifierLength

The Maximum allowed client identifier length as specified by the 3.1 specification is 23 characters, however we allow more than this as this was relaxed in the 3.1.1 specification and most brokers now support lengths greater than 23 characters.

Implementation

static const int maxClientIdentifierLength = 65535;