debugging cpp recv