docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method StartServer

    StartServer()

    Starts to listening for incoming clients Note: When this method returns false it could mean:

    • You are trying to start a client that is already started
    • It failed during the initial port binding when attempting to begin to connect
    Declaration
    public override bool StartServer()
    Returns
    Type Description
    bool

    true if the server was started and false if it failed to start the server

    Overrides
    NetworkTransport.StartServer()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)