Thanks, very good:

one thought on security.
A fraudulent client could log onto the server several thousant times.
Could this client stop the server from giving Client IDs, if the ID runs over the index-bounds?,
or are old client IDs used ?