docs.unity3d.com
    Show / Hide Table of Contents

    Struct UnityTransport.ConnectionAddressData

    Namespace: Unity.Netcode
    Syntax
    public struct ConnectionAddressData

    Fields

    Address

    Declaration
    public string Address
    Field Value
    Type Description
    String

    Port

    Declaration
    public ushort Port
    Field Value
    Type Description
    UInt16

    ServerListenAddress

    Declaration
    public string ServerListenAddress
    Field Value
    Type Description
    String

    Properties

    ListenEndPoint

    Declaration
    public readonly NetworkEndPoint ListenEndPoint { get; }
    Property Value
    Type Description
    NetworkEndPoint

    ServerEndPoint

    Declaration
    public readonly NetworkEndPoint ServerEndPoint { get; }
    Property Value
    Type Description
    NetworkEndPoint

    Operators

    Implicit(NetworkEndPoint to UnityTransport.ConnectionAddressData)

    Declaration
    public static implicit operator UnityTransport.ConnectionAddressData(NetworkEndPoint d)
    Parameters
    Type Name Description
    NetworkEndPoint d
    Returns
    Type Description
    UnityTransport.ConnectionAddressData

    Implicit(UnityTransport.ConnectionAddressData to NetworkEndPoint)

    Declaration
    public static implicit operator NetworkEndPoint(UnityTransport.ConnectionAddressData d)
    Parameters
    Type Name Description
    UnityTransport.ConnectionAddressData d
    Returns
    Type Description
    NetworkEndPoint
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023