docs.unity.cn
    Show / Hide Table of Contents

    Method GetAvailablePort

    GetAvailablePort()

    Find an open network listen port on the local system

    Declaration
    protected static int GetAvailablePort()
    Returns
    Type Description
    Int32

    a system assigned port, or 0 if none are available

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use