summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-06-25 13:10:15 -0700
committercomex <comexk@gmail.com>2023-06-25 13:10:15 -0700
commit7cc428ddf67a9b9c4f703bcc294a72ffdfe36e08 (patch)
treece7df8544f4c9f2d0a35df3a9f840af912d16256
parent8e703e08dfcf735a08df2ceff6a05221b7cc981f (diff)
socket_types: Improve comment
-rw-r--r--src/common/socket_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/socket_types.h b/src/common/socket_types.h
index 18ad6ac95..b2191c2e8 100644
--- a/src/common/socket_types.h
+++ b/src/common/socket_types.h
@@ -11,13 +11,13 @@ namespace Network {
/// Address families
enum class Domain : u8 {
- Unspecified, ///< Can be 0 in getaddrinfo hints
+ Unspecified, ///< Represents 0, used in getaddrinfo hints
INET, ///< Address family for IPv4
};
/// Socket types
enum class Type {
- Unspecified, ///< Can be 0 in getaddrinfo hints
+ Unspecified, ///< Represents 0, used in getaddrinfo hints
STREAM,
DGRAM,
RAW,
@@ -26,7 +26,7 @@ enum class Type {
/// Protocol values for sockets
enum class Protocol : u8 {
- Unspecified,
+ Unspecified, ///< Represents 0, usable in various places
ICMP,
TCP,
UDP,