string packet max_length should be unsigned