docs.unity3d.com
    Show / Hide Table of Contents

    Class RelayServer

    Deprecated: Use the serverEndpoints collection instead. Refer to the RelayServerEndpoint object. The IPv4 connection details of a Relay server. The Relay server configuration determines the network protocol (currently only UDP) required by this IP address and port combination.

    Inheritance
    Object
    RelayServer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Relay.Models
    Syntax
    [Preserve]
    public class RelayServer

    Constructors

    RelayServer(String, Int32)

    Deprecated: Use the serverEndpoints collection instead. Refer to the RelayServerEndpoint object. The IPv4 connection details of a Relay server. The Relay server configuration determines the network protocol (currently only UDP) required by this IP address and port combination.

    Declaration
    [Preserve]
    public RelayServer(string ipV4, int port)
    Parameters
    Type Name Description
    String ipV4

    The IPv4 address of the Relay server.

    Int32 port

    The port number of the Relay server.

    Properties

    IpV4

    The IPv4 address of the Relay server.

    Declaration
    [Preserve]
    public string IpV4 { get; }
    Property Value
    Type Description
    String

    Port

    The port number of the Relay server.

    Declaration
    [Preserve]
    public int Port { get; }
    Property Value
    Type Description
    Int32
    Back to top
    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