docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLocalEndpoint

    GetLocalEndpoint()

    Get the local endpoint used by the driver (the endpoint remote peers will use to reach this driver).

    Declaration
    public NetworkEndpoint GetLocalEndpoint()
    Returns
    Type Description
    NetworkEndpoint

    The local endpoint of the driver.

    Remarks

    The returned value should not be assumed to be constant for a given connection, as it is possible for remote peers to change address during the course of a session (e.g. if a mobile client changes IP address because they're hopping between cell towers).

    In This Article
    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