4 ms·
I agree anything is better than a magic number, but really only if the variable is properly descriptive. What are we saying 'yes' to?
by petee 8y ago
I agree anything is better than a magic number, but really only if the variable is properly descriptive.
What are we saying 'yes' to?
- scarejunba 8y agoDefinitely agree that calling it `reuse_local` makes more sense, but OP was just quoting the blogpost.
- unmole 8y agoAnd the blog post was just quoting Beej.
- tedunangst 8y agoWhatever you pass the yes to.
- deleted 8y ago[deleted]
- deathanatos 8y ago> *What are we saying 'yes' to? The flag SO_REUSEADDR (SO = Socket Option); really, I'd say we're setting the flag / setting the flag to true, but true is a bit of a reserved word, which I'm guessing is why they went with "yes".