Skip to main content
Deno.DatagramConn.send - Deno documentation
method Deno.DatagramConn.send
DatagramConn.send(
p: Uint8Array,
addr: Addr,
): Promise<number>

Sends a message to the target via the connection. The method resolves with the number of bytes sent.

Parameters

p: Uint8Array
addr: Addr

Return Type

Promise<number>
Back to top