IUdpPacketSource
Ecng.Net
Interface for providing UDP packets for replay or testing.
Methods
GetPacketsAsync
public IAsyncEnumerable<ValueTuple<IPEndPoint, Memory<byte>, DateTime>> GetPacketsAsync()
result = iUdpPacketSource.GetPacketsAsync()
Gets packets asynchronously.
Returns: Async enumerable of packets with endpoint, payload, and timestamp.