socket_types: Improve comment
This commit is contained in:
parent
8e703e08df
commit
7cc428ddf6
1 changed files with 3 additions and 3 deletions
|
@ -11,13 +11,13 @@ namespace Network {
|
||||||
|
|
||||||
/// Address families
|
/// Address families
|
||||||
enum class Domain : u8 {
|
enum class Domain : u8 {
|
||||||
Unspecified, ///< Can be 0 in getaddrinfo hints
|
Unspecified, ///< Represents 0, used in getaddrinfo hints
|
||||||
INET, ///< Address family for IPv4
|
INET, ///< Address family for IPv4
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Socket types
|
/// Socket types
|
||||||
enum class Type {
|
enum class Type {
|
||||||
Unspecified, ///< Can be 0 in getaddrinfo hints
|
Unspecified, ///< Represents 0, used in getaddrinfo hints
|
||||||
STREAM,
|
STREAM,
|
||||||
DGRAM,
|
DGRAM,
|
||||||
RAW,
|
RAW,
|
||||||
|
@ -26,7 +26,7 @@ enum class Type {
|
||||||
|
|
||||||
/// Protocol values for sockets
|
/// Protocol values for sockets
|
||||||
enum class Protocol : u8 {
|
enum class Protocol : u8 {
|
||||||
Unspecified,
|
Unspecified, ///< Represents 0, usable in various places
|
||||||
ICMP,
|
ICMP,
|
||||||
TCP,
|
TCP,
|
||||||
UDP,
|
UDP,
|
||||||
|
|
Loading…
Reference in a new issue