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

    Struct IPCSocket

    Namespace: Unity.Networking.Transport
    Syntax
    public struct IPCSocket : INetworkInterface, IDisposable

    Properties

    Family

    Declaration
    public NetworkFamily Family { get; }
    Property Value
    Type Description
    NetworkFamily
    Implements
    INetworkInterface.Family

    LocalEndPoint

    Declaration
    public NetworkEndPoint LocalEndPoint { get; }
    Property Value
    Type Description
    NetworkEndPoint
    Implements
    INetworkInterface.LocalEndPoint

    RemoteEndPoint

    Declaration
    public NetworkEndPoint RemoteEndPoint { get; }
    Property Value
    Type Description
    NetworkEndPoint
    Implements
    INetworkInterface.RemoteEndPoint

    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()

    Initialize()

    Declaration
    public void Initialize()
    Implements
    INetworkInterface.Initialize()

    ScheduleReceive<T>(T, JobHandle)

    Declaration
    public JobHandle ScheduleReceive<T>(T receiver, JobHandle dep)
        where T : struct, INetworkPacketReceiver
    Parameters
    Type Name Description
    T receiver
    JobHandle dep
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T
    Implements
    INetworkInterface.ScheduleReceive<T>(T, JobHandle)

    SendMessage(network_iovec*, Int32, ref NetworkEndPoint)

    Declaration
    public int SendMessage(network_iovec*iov, int iov_len, ref NetworkEndPoint address)
    Parameters
    Type Name Description
    network_iovec* iov
    Int32 iov_len
    NetworkEndPoint address
    Returns
    Type Description
    Int32
    Implements
    INetworkInterface.SendMessage(network_iovec*, Int32, ref NetworkEndPoint)
    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