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 © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use