for consistency, bind failure also returns errno as exit code