IPacketReceiver

Ecng.Net

Interface for receiving UDP packets.

实现: IDisposable

方法

RunAsync
public Task RunAsync(CancellationToken cancellationToken)
result = iPacketReceiver.RunAsync(cancellationToken)

Runs the packet receiver asynchronously.

cancellationToken
Cancellation token.