Changed client_in_length type to be OS portable