Delegate DatagramSender
Sends a datagram to an address, e.g. through the UDP socket a call uses.
Namespace: Uniform.Stun
Assembly: Uniform.Stun.dll
public delegate ValueTask DatagramSender(ReadOnlyMemory<byte> datagram, IPEndPoint to, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| ReadOnlyMemory<byte> |
datagram |
Sends a datagram to an address, e.g. through the UDP socket a call uses. |
| IPEndPoint |
to |
Sends a datagram to an address, e.g. through the UDP socket a call uses. |
| CancellationToken |
cancellationToken |
Sends a datagram to an address, e.g. through the UDP socket a call uses. |
Returns
| Type |
Description |
| ValueTask |
Sends a datagram to an address, e.g. through the UDP socket a call uses. |