UdpSocketLike
Defined in: packages/voice/src/udp.ts:4
The parts of a UDP socket VoiceUdp uses; Bun.udpSocket provides them.
Methods
Section titled “Methods”close()
Section titled “close()”close():
void
Defined in: packages/voice/src/udp.ts:6
Returns
Section titled “Returns”void
send()
Section titled “send()”send(
data,port,address):boolean
Defined in: packages/voice/src/udp.ts:5
Parameters
Section titled “Parameters”Uint8Array
number
address
Section titled “address”string
Returns
Section titled “Returns”boolean