Revert "Explicitly check for recv return code to be -1 rather than < 0 for type differences."

This reverts commit d23725679c73daf2e998bb9116cc215d7262b6a2.
Use an int for recv return codes.