docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Bind

    Bind(NetworkEndPoint)

    Bind the driver to a endpoint.

    Declaration
    public int Bind(NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkEndPoint endpoint

    The endpoint to bind to.

    Returns
    Type Description
    int

    Returns 0 on success. And a negative value if a error occured.

    Exceptions
    Type Condition
    InvalidOperationException

    If the driver is not created properly

    InvalidOperationException

    If bind is called more then once on the driver

    InvalidOperationException

    If bind is called after a connection has already been established

    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)