#include "packet_peer_udp.h"
#include "core/io/ip.h"
#include "core/io/udp_server.h"
void PacketPeerUDP::set_blocking_mode(bool p_enable) { … }
void PacketPeerUDP::set_broadcast_enabled(bool p_enabled) { … }
Error PacketPeerUDP::join_multicast_group(IPAddress p_multi_address, const String &p_if_name) { … }
Error PacketPeerUDP::leave_multicast_group(IPAddress p_multi_address, const String &p_if_name) { … }
String PacketPeerUDP::_get_packet_ip() const { … }
Error PacketPeerUDP::_set_dest_address(const String &p_address, int p_port) { … }
int PacketPeerUDP::get_available_packet_count() const { … }
Error PacketPeerUDP::get_packet(const uint8_t **r_buffer, int &r_buffer_size) { … }
Error PacketPeerUDP::put_packet(const uint8_t *p_buffer, int p_buffer_size) { … }
int PacketPeerUDP::get_max_packet_size() const { … }
Error PacketPeerUDP::bind(int p_port, const IPAddress &p_bind_address, int p_recv_buffer_size) { … }
Error PacketPeerUDP::connect_shared_socket(Ref<NetSocket> p_sock, IPAddress p_ip, uint16_t p_port, UDPServer *p_server) { … }
void PacketPeerUDP::disconnect_shared_socket() { … }
Error PacketPeerUDP::connect_to_host(const IPAddress &p_host, int p_port) { … }
bool PacketPeerUDP::is_socket_connected() const { … }
void PacketPeerUDP::close() { … }
Error PacketPeerUDP::wait() { … }
Error PacketPeerUDP::_poll() { … }
Error PacketPeerUDP::store_packet(IPAddress p_ip, uint32_t p_port, uint8_t *p_buf, int p_buf_size) { … }
bool PacketPeerUDP::is_bound() const { … }
IPAddress PacketPeerUDP::get_packet_address() const { … }
int PacketPeerUDP::get_packet_port() const { … }
int PacketPeerUDP::get_local_port() const { … }
void PacketPeerUDP::set_dest_address(const IPAddress &p_address, int p_port) { … }
void PacketPeerUDP::_bind_methods() { … }
PacketPeerUDP::PacketPeerUDP() : … { … }
PacketPeerUDP::~PacketPeerUDP() { … }