Message217712
Enum are for, well, enumerated values, so for values within a finite
and known range (like days, cards, etc).
OTOH, I'm not sure all socket constants could be categorized like this.
It makes sense for address families, especially since they're used so
much, but when it comes to e.g. SO_REUSEADDR or BTPROTO_RFCOMM, I'm
not sure how we could categorize them.
Unless would declare them all in a "SocketConstant" Enum? |
|
Date |
User |
Action |
Args |
2014-05-01 17:33:35 | neologix | set | recipients:
+ neologix, barry, pitrou, eli.bendersky, ethan.furman |
2014-05-01 17:33:35 | neologix | link | issue21406 messages |
2014-05-01 17:33:35 | neologix | create | |
|