docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property RawPort

    RawPort

    Get or set the raw value of the endpoint's port number. This is only useful to interface with low-level native libraries. Prefer Port in most circumstances, since that value will always match the endianness of the current platform.

    Declaration
    [Obsolete("Use Port instead, and use standard C# APIs to convert to/from network byte order.")]
    public ushort RawPort { get; set; }
    Property Value
    Type Description
    ushort

    Port value in network byte order.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023