6.91. kink/socket/PROTOCOL_FAMILY

Provides the constants which represents the protocol families of socket API.

6.91.1. type protocol_family

`protocol_family` values are `ipv4`, `ipv6`, or `unix`.

`protocol_family` values can be compared by `==` operator, or `op_eq` method each other.

6.91.2. PROTOCOL_FAMILY.ipv4

`ipv4` represents IPv4 protocol.

6.91.3. PROTOCOL_FAMILY.ipv6

`ipv6` represents IPv6 protocol.

6.91.4. PROTOCOL_FAMILY.unix

`unix` represents Unix domain socket protocol.

6.91.5. PROTOCOL_FAMILY.is?(Val)

`is?` returns whether `Val` is a `protocol_family` value.