docs.unity3d.com
    Show / Hide Table of Contents

    Struct BaselibNetworkInterface

    Obsolete. Use UDPNetworkInterface instead.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Networking.Transport
    Syntax
    [Obsolete("BaselibNetworkInterface has been deprecated. Use UDPNetworkInterface instead (UnityUpgradable) -> UDPNetworkInterface")]
    public struct BaselibNetworkInterface : INetworkInterface, IDisposable

    Properties

    LocalEndpoint

    Declaration
    public readonly NetworkEndpoint LocalEndpoint { get; }
    Property Value
    Type Description
    NetworkEndpoint
    Implements
    INetworkInterface.LocalEndpoint

    Methods

    Bind(NetworkEndpoint)

    Declaration
    public int Bind(NetworkEndpoint endpoint)
    Parameters
    Type Name Description
    NetworkEndpoint endpoint
    Returns
    Type Description
    Int32
    Implements
    INetworkInterface.Bind(NetworkEndpoint)

    Dispose()

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Initialize(ref NetworkSettings, ref Int32)

    Declaration
    public int Initialize(ref NetworkSettings settings, ref int packetPadding)
    Parameters
    Type Name Description
    NetworkSettings settings
    Int32 packetPadding
    Returns
    Type Description
    Int32
    Implements
    INetworkInterface.Initialize(ref NetworkSettings, ref Int32)

    Listen()

    Declaration
    public int Listen()
    Returns
    Type Description
    Int32
    Implements
    INetworkInterface.Listen()

    ScheduleReceive(ref ReceiveJobArguments, JobHandle)

    Declaration
    public JobHandle ScheduleReceive(ref ReceiveJobArguments arguments, JobHandle dep)
    Parameters
    Type Name Description
    ReceiveJobArguments arguments
    JobHandle dep
    Returns
    Type Description
    JobHandle
    Implements
    INetworkInterface.ScheduleReceive(ref ReceiveJobArguments, JobHandle)

    ScheduleSend(ref SendJobArguments, JobHandle)

    Declaration
    public JobHandle ScheduleSend(ref SendJobArguments arguments, JobHandle dep)
    Parameters
    Type Name Description
    SendJobArguments arguments
    JobHandle dep
    Returns
    Type Description
    JobHandle
    Implements
    INetworkInterface.ScheduleSend(ref SendJobArguments, JobHandle)

    Extension Methods

    ManagedNetworkInterfaceExtensions.WrapToUnmanaged<T>(T)
    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