Available on macro
Connected UDP sockets.
See also:
https://aantron.github.io/luv/luv/Luv/UDP/Connected
staticdisconnect(this:Udp):Result<NoData>
Removes the peer address assigned to the given socket.
staticgetPeerName(this:Udp):Result<SockAddr>
Retrieves the peer address assigned to the given socket.
staticsend(this:Udp, data:Array<Buffer>, callback:(result:Result<NoData>) ‑> Void):Void
Like eval.luv.UDP.send, but the remote address used is the peer address assigned to the socket.
eval.luv.UDP.send
statictrySend(this:Udp, data:Array<Buffer>):Result<NoData>
Like eval.luv.UDP.trySend, but the remote address used is the peer address assigned to the socket.
eval.luv.UDP.trySend