docs.unity.cn
    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
    Syntax
    public enum NetworkFamily

    Fields

    Name Description Value
    Invalid

    Invalid address family. This is the value used by default-valued endpoints.


    0
    Ipv4

    Family for IPv4 addresses (analoguous to AF_INET in traditional BSD sockets).


    2
    Ipv6

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


    23
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, June 1, 2023