Check Send/Receive return value for errors during socket reading/writting.