PacketPeerUDP.setDestAddress

Sets the destination address and port for sending packets and variables. A hostname will be resolved using DNS if needed. Note: setBroadcastEnabled must be enabled before sending packets to a broadcast address (e.g. 255.255.255.255).

struct PacketPeerUDP
@nogc nothrow
GodotError
setDestAddress
(
in String host
,
in long port
)

Meta