Struct UDPNetworkInterface
Syntax
public struct UDPNetworkInterface : INetworkInterface, IDisposable
Properties
LocalEndPoint
Declaration
public NetworkInterfaceEndPoint LocalEndPoint { get; }
Property Value
Implements
Methods
BeginSendMessage(out NetworkInterfaceSendHandle, IntPtr, Int32)
Declaration
public static int BeginSendMessage(out NetworkInterfaceSendHandle handle, IntPtr userData, int requiredPayloadSize)
Parameters
Returns
Bind(NetworkInterfaceEndPoint)
Declaration
public int Bind(NetworkInterfaceEndPoint endpoint)
Parameters
Returns
Implements
CreateInterfaceEndPoint(NetworkEndPoint)
Declaration
public NetworkInterfaceEndPoint CreateInterfaceEndPoint(NetworkEndPoint endPoint)
Parameters
Returns
Implements
CreateSendInterface()
Declaration
public NetworkSendInterface CreateSendInterface()
Returns
Implements
Dispose()
Declaration
EndSendMessage(ref NetworkInterfaceSendHandle, ref NetworkInterfaceEndPoint, IntPtr, ref NetworkSendQueueHandle)
Declaration
public static int EndSendMessage(ref NetworkInterfaceSendHandle handle, ref NetworkInterfaceEndPoint address, IntPtr userData, ref NetworkSendQueueHandle sendQueue)
Parameters
Returns
GetGenericEndPoint(NetworkInterfaceEndPoint)
Declaration
public NetworkEndPoint GetGenericEndPoint(NetworkInterfaceEndPoint endpoint)
Parameters
Returns
Implements
Initialize(INetworkParameter[])
Declaration
public void Initialize(params INetworkParameter[] param)
Parameters
Implements
ScheduleReceive(NetworkPacketReceiver, JobHandle)
Declaration
public JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
Parameters
Returns
Type |
Description |
JobHandle |
|
Implements
ScheduleSend(NativeQueue<QueuedSendMessage>, JobHandle)
Declaration
public JobHandle ScheduleSend(NativeQueue<QueuedSendMessage> sendQueue, JobHandle dep)
Parameters
Returns
Type |
Description |
JobHandle |
|
Implements