docs.unity.cn
    Show / Hide Table of Contents

    Enum TransportType

    The transport category/type use by a NetworkDriver.

    Namespace: Unity.NetCode
    Syntax
    public enum TransportType

    Fields

    Name Description Value
    Invalid

    Not configured, or unsupported tramsport interface. The transport type for a registered driver instance is always valid, unless the driver creation fail.


    0
    IPC

    An inter-process like communication channel with 0 latency and guaratee delivery.


    1
    Socket

    A socket based communication channel. WebSocket, UDP, TCP or any similar communication channel fit that category.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023