Enum NetworkFamily
Indicates the type of endpoint a NetworkEndpoint represents. Analoguous to a
sa_family_t
in traditional BSD sockets.
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public enum NetworkFamily
Fields
Name | Description |
---|---|
Custom | Family for custom addresses, to be used if a custom INetworkInterface requires a NetworkEndpoint that's neither an IPv4 or IPv6 address. |
Invalid | Invalid address family. This is the value used by default-valued endpoints. |
Ipv4 | Family for IPv4 addresses (analoguous to |
Ipv6 | Family for IPv6 addresses (analoguous to |