class

Godot::PacketPeerUDP

Inherits Godot::PacketPeer < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

bind(port : Int64, bind_address : String, recv_buf_size : Int64) : Int64
Source
close
Source
connect_to_host(host : String, port : Int64) : Int64
Source
get_local_port
Source
get_packet_ip
Source
get_packet_port
Source
is_bound
Source
is_socket_connected
Source
join_multicast_group(multicast_address : String, interface_name : String) : Int64
Source
leave_multicast_group(multicast_address : String, interface_name : String) : Int64
Source
set_broadcast_enabled(enabled : Bool) : Void
Source
set_dest_address(host : String, port : Int64) : Int64
Source
wait
Source