docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Listen

    Listen(NetworkEndpoint)

    Tell all the registered NetworkDriverStore drivers to start listening for incoming connections.

    Declaration
    public bool Listen(NetworkEndpoint endpoint)
    Parameters
    Type Name Description
    NetworkEndpoint endpoint

    The local address to use. This is the address that will be used to bind the underlying socket.

    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2023 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)