PacketQueueFullModes

Ecng.Net

Defines behavior when the packet queue is full.

Campos

DropNewest
public const PacketQueueFullModes DropNewest
value = PacketQueueFullModes.DropNewest

Drop the newest (incoming) packet when queue is full.

DropOldest
public const PacketQueueFullModes DropOldest
value = PacketQueueFullModes.DropOldest

Drop the oldest packet in queue to make room for the new one.

Wait
public const PacketQueueFullModes Wait
value = PacketQueueFullModes.Wait

Wait (block the sender) until space becomes available in the queue.