Skip to main content
method Deno.DatagramConn.receive
DatagramConn.receive(p?: Uint8Array): Promise<[Uint8Array, Addr]>
Deprecated

Waits for and resolves to the next message to the instance.

Messages are received in the format of a tuple containing the data array and the address information.

Parameters

optional
p: Uint8Array

Return Type

Promise<[Uint8Array, Addr]>
Back to top