added a function to check the returned host data compared to the requested.