docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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 AF_INET in traditional BSD sockets).

    Ipv6

    Family for IPv6 addresses (analoguous to AF_INET6 in traditional BSD sockets).

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)