PacketPeerUDPSetDestAddress Method |
Sets the destination address and port for sending packets and variables. A hostname will be resolved using DNS if needed.
Note: SetBroadcastEnabled(Boolean) must be enabled before sending packets to a broadcast address (e.g. 255.255.255.255).
Namespace: Godot
public Error SetDestAddress( string host, int port )
[Missing <param name="host"/> documentation for "M:Godot.PacketPeerUDP.SetDestAddress(System.String,System.Int32)"]
[Missing <param name="port"/> documentation for "M:Godot.PacketPeerUDP.SetDestAddress(System.String,System.Int32)"]
[Missing <returns> documentation for "M:Godot.PacketPeerUDP.SetDestAddress(System.String,System.Int32)"]