Simplest solution would be to add a version field in the Auth message, assuming a larger change would make deserialization fail.
But a strongest solution would be to have an initial packet sent before anything else by the client with its version, and the server would answer by accepting further data or send back its own version and close.
Simplest solution would be to add a version field in the Auth message, assuming a larger change would make deserialization fail. But a strongest solution would be to have an initial packet sent before anything else by the client with its version, and the server would answer by accepting further data or send back its own version and close.