godot/core/io/packet_peer_udp.cpp

/**************************************************************************/
/*  packet_peer_udp.cpp                                                   */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#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() {}