godot/core/io/stream_peer_tcp.cpp

/**************************************************************************/
/*  stream_peer_tcp.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 "stream_peer_tcp.h"

#include "core/config/project_settings.h"

Error StreamPeerTCP::poll() {}

void StreamPeerTCP::accept_socket(Ref<NetSocket> p_sock, IPAddress p_host, uint16_t p_port) {}

Error StreamPeerTCP::bind(int p_port, const IPAddress &p_host) {}

Error StreamPeerTCP::connect_to_host(const IPAddress &p_host, int p_port) {}

Error StreamPeerTCP::write(const uint8_t *p_data, int p_bytes, int &r_sent, bool p_block) {}

Error StreamPeerTCP::read(uint8_t *p_buffer, int p_bytes, int &r_received, bool p_block) {}

void StreamPeerTCP::set_no_delay(bool p_enabled) {}

StreamPeerTCP::Status StreamPeerTCP::get_status() const {}

void StreamPeerTCP::disconnect_from_host() {}

Error StreamPeerTCP::wait(NetSocket::PollType p_type, int p_timeout) {}

Error StreamPeerTCP::put_data(const uint8_t *p_data, int p_bytes) {}

Error StreamPeerTCP::put_partial_data(const uint8_t *p_data, int p_bytes, int &r_sent) {}

Error StreamPeerTCP::get_data(uint8_t *p_buffer, int p_bytes) {}

Error StreamPeerTCP::get_partial_data(uint8_t *p_buffer, int p_bytes, int &r_received) {}

int StreamPeerTCP::get_available_bytes() const {}

IPAddress StreamPeerTCP::get_connected_host() const {}

int StreamPeerTCP::get_connected_port() const {}

int StreamPeerTCP::get_local_port() const {}

Error StreamPeerTCP::_connect(const String &p_address, int p_port) {}

void StreamPeerTCP::_bind_methods() {}

StreamPeerTCP::StreamPeerTCP() :{}

StreamPeerTCP::~StreamPeerTCP() {}