docs.unity.cn
    Show / Hide Table of Contents

    Struct NetworkInterfaceSendHandle

    A handle to data that's going to be sent on an interface.

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkInterfaceSendHandle

    Fields

    capacity

    Maximum capacity of the data buffer.

    Declaration
    public int capacity
    Field Value
    Type Description
    Int32

    data

    Pointer to the data buffer.

    Declaration
    public IntPtr data
    Field Value
    Type Description
    IntPtr

    flags

    Internal flags used by the driver (tracks who allocated the memory).

    Declaration
    public SendHandleFlags flags
    Field Value
    Type Description
    SendHandleFlags

    id

    Internal ID for this handle.

    Declaration
    public int id
    Field Value
    Type Description
    Int32

    size

    Actual size of the data in the buffer.

    Declaration
    public int size
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use