docs.unity.cn
    Show / Hide Table of Contents

    Method IsPortAvailable

    IsPortAvailable(Int32)

    Tests to see if the given port # is already in use

    Declaration
    protected static bool IsPortAvailable(int port)
    Parameters
    Type Name Description
    Int32 port

    port number to test

    Returns
    Type Description
    Boolean

    true if there is not a listener on the port

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