Skip to content

Abblix.SharedSignals.Transmitter.ReceiverAddressPolicy

ReceiverAddressPolicy.HostResolver(string, CancellationToken) Delegate

Resolves a hostname to the addresses a connection to it would use.

C#
public delegate System.Threading.Tasks.Task<System.Net.IPAddress[]> ReceiverAddressPolicy.HostResolver(string host, System.Threading.CancellationToken cancellationToken);

Parameters

host System.String

The hostname to resolve.

cancellationToken System.Threading.CancellationToken

Cancels the resolution.

Returns

System.Threading.Tasks.Task<System.Net.IPAddress[]>