docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsPortAvailable

    IsPortAvailable(int)

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

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

    port number to test

    Returns
    Type Description
    bool

    true if there is not a listener on the port

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 27, 2023