IUdpPacketSource

Ecng.Net

Interface for providing UDP packets for replay or testing.

Métodos

GetPacketsAsync
public IAsyncEnumerable<ValueTuple<IPEndPoint, Memory<byte>, DateTime>> GetPacketsAsync()
result = iUdpPacketSource.GetPacketsAsync()

Gets packets asynchronously.

Devuelve: Async enumerable of packets with endpoint, payload, and timestamp.