Docs
Reference
Guides
Blog
Discord
/
Bun
/
udp
/
ConnectedSocket
ConnectedSocket
P
address
P
binaryType
M
close
P
closed
P
hostname
P
port
M
ref
M
reload
P
remoteAddress
M
send
M
sendMany
M
unref
Search the reference...
/
Docs
Reference
Guides
Blog
Discord
/
Bun
/
udp
/
ConnectedSocket
ConnectedSocket
P
address
P
binaryType
M
close
P
closed
P
hostname
P
port
M
ref
M
reload
P
remoteAddress
M
send
M
sendMany
M
unref
Symbol
udp.ConnectedSocket
interface
ConnectedSocket
<
DataBinaryType
extends
BinaryType
>
readonly
address
:
SocketAddress
readonly
binaryType
:
keyof
BinaryTypeList
readonly
closed
:
boolean
readonly
hostname
:
string
readonly
port
:
number
readonly
remoteAddress
:
SocketAddress
close
(
)
:
void
ref
(
)
:
void
reload
(
handler
:
ConnectedSocketHandler
<
DataBinaryType
>
)
:
void
send
(
data
:
Data
)
:
boolean
sendMany
(
packets
:
readonly
Data
[]
)
:
number
unref
(
)
:
void