docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithPort

    WithPort(ushort)

    Use the given port number for this endpoint.

    Declaration
    public NetworkEndPoint WithPort(ushort port)
    Parameters
    Type Name Description
    ushort port

    The port number.

    Returns
    Type Description
    NetworkEndPoint

    The endpoint (this).

    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)