docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Connect

    Connect(NetworkEndPoint)

    Connects the driver to a endpoint

    Declaration
    public NetworkConnection Connect(NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkEndPoint endpoint

    Endpoint to connect to.

    Returns
    Type Description
    NetworkConnection

    If connect fails it returns a default NetworkConnection.

    Exceptions
    Type Condition
    InvalidOperationException

    If the driver is not created properly

    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)