docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UnityTransport.ConnectionAddressData

    Structure to store the address to connect to

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Netcode.Transports.UTP
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct UnityTransport.ConnectionAddressData

    Fields

    Name Description
    Address

    IP address of the server (address to which clients will connect to).

    Port

    UDP port of the server.

    ServerListenAddress

    IP address the server will listen on. If not provided, will use localhost.

    Properties

    Name Description
    IsIpv6
    ListenEndPoint

    Endpoint (IP address and port) server will listen/bind on.

    ServerEndPoint

    Endpoint (IP address and port) clients will connect to.

    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)