aboutsummaryrefslogtreecommitdiff
path: root/core/io/stream_peer_tcp.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-14 11:07:57 -0300
committerJuan Linietsky2017-01-14 11:10:42 -0300
commitdcb95ec1473eff3f455909cd81c3cd50b1e1159b (patch)
tree60343275911d48ebf993041dec92e1eac112b746 /core/io/stream_peer_tcp.h
parent93ab45b6b5c4f8e0619e963156c983009d399a9d (diff)
downloadgodot-dcb95ec1473eff3f455909cd81c3cd50b1e1159b.tar.gz
godot-dcb95ec1473eff3f455909cd81c3cd50b1e1159b.tar.zst
godot-dcb95ec1473eff3f455909cd81c3cd50b1e1159b.zip
Diffstat (limited to 'core/io/stream_peer_tcp.h')
-rw-r--r--core/io/stream_peer_tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/io/stream_peer_tcp.h b/core/io/stream_peer_tcp.h
index 8f6dfaf3f..2b25f3173 100644
--- a/core/io/stream_peer_tcp.h
+++ b/core/io/stream_peer_tcp.h
@@ -60,13 +60,13 @@ protected:
public:
virtual void set_ip_type(IP::Type p_type);
- virtual Error connect(const IP_Address& p_host, uint16_t p_port)=0;
+ virtual Error connect_to_host(const IP_Address& p_host, uint16_t p_port)=0;
//read/write from streampeer
- virtual bool is_connected() const=0;
+ virtual bool is_connected_to_host() const=0;
virtual Status get_status() const=0;
- virtual void disconnect()=0;
+ virtual void disconnect_from_host()=0;
virtual IP_Address get_connected_host() const=0;
virtual uint16_t get_connected_port() const=0;
virtual void set_nodelay(bool p_enabled)=0;