Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

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>