Struct NetworkPacketReceiver
Obsolete. Part of the old INetworkInterface
API.
Syntax
[Obsolete("Use ReceiveJobArguments.ReceiveQueue instead", true)]
public struct NetworkPacketReceiver
Properties
LastUpdateTime
Declaration
public readonly long LastUpdateTime { get; }
Property Value
ReceiveErrorCode
Declaration
public readonly int ReceiveErrorCode { get; }
Property Value
Methods
AllocateMemory(ref Int32)
Declaration
public IntPtr AllocateMemory(ref int dataLen)
Parameters
Type |
Name |
Description |
Int32 |
dataLen |
|
Returns
AppendPacket(IntPtr, ref NetworkEndpoint, Int32, NetworkPacketReceiver.AppendPacketMode)
Declaration
public bool AppendPacket(IntPtr data, ref NetworkEndpoint address, int dataLen, NetworkPacketReceiver.AppendPacketMode mode = NetworkPacketReceiver.AppendPacketMode.None)
Parameters
Returns
IsAddressUsed(NetworkEndpoint)
Declaration
public bool IsAddressUsed(NetworkEndpoint address)
Parameters
Returns