IClientConnectionReceiveAsync Method

Receives a package by the server

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
Task<DnsReceivedRawPackage?> ReceiveAsync(
	DnsMessageIdentification identification,
	CancellationToken token = default
)

Parameters

identification  DnsMessageIdentification
The identification of the message, that should be received
token  CancellationToken  (Optional)
The token to monitor cancellation requests

Return Value

TaskDnsReceivedRawPackage
The package received by the server

See Also