Struct LocalNetworkDriver.Concurrent | Unity Transport | 0.2.4-preview.0
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LocalNetworkDriver.Concurrent

    Namespace: Unity.Networking.Transport
    Syntax
    public struct Concurrent

    Methods

    GetConnectionState(NetworkConnection)

    Declaration
    public NetworkConnection.State GetConnectionState(NetworkConnection id)
    Parameters
    Type Name Description
    NetworkConnection id
    Returns
    Type Description
    NetworkConnection.State

    PopEventForConnection(NetworkConnection, out DataStreamReader)

    Declaration
    public NetworkEvent.Type PopEventForConnection(NetworkConnection connectionId, out DataStreamReader slice)
    Parameters
    Type Name Description
    NetworkConnection connectionId
    DataStreamReader slice
    Returns
    Type Description
    NetworkEvent.Type

    Send(NetworkPipeline, NetworkConnection, IntPtr, Int32)

    Declaration
    public int Send(NetworkPipeline pipe, NetworkConnection id, IntPtr data, int len)
    Parameters
    Type Name Description
    NetworkPipeline pipe
    NetworkConnection id
    IntPtr data
    Int32 len
    Returns
    Type Description
    Int32

    Send(NetworkPipeline, NetworkConnection, DataStreamWriter)

    Declaration
    public int Send(NetworkPipeline pipe, NetworkConnection id, DataStreamWriter strm)
    Parameters
    Type Name Description
    NetworkPipeline pipe
    NetworkConnection id
    DataStreamWriter strm
    Returns
    Type Description
    Int32
    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