IDatagramEndpoint
Interface in Oadm.Sdk.Sites · Oadm.Sdk.dll
Datagrams in and replies out.
public interface IDatagramEndpointExtended or implemented by IUdpRelay
Methods
Section titled “Methods”ReceiveAsync
Section titled “ReceiveAsync”ValueTask<Datagram> ReceiveAsync(CancellationToken ct)The next datagram. Ends with OperationCanceledException when the token is cancelled.
SendAsync
Section titled “SendAsync”ValueTask SendAsync(ReadOnlyMemory<byte> data, IPEndPoint remote, CancellationToken ct)A datagram to remote (usually a reply to a sender).