diff options
| author | Fabio Alessandrelli | 2017-01-18 12:47:12 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2017-01-23 20:18:22 +0100 |
| commit | 88a56ba783d36d52a1023759e69f026b1ae255b4 (patch) | |
| tree | 635ced03366a40efff9ab0689836fa9bcf75c796 /core/io/tcp_server.cpp | |
| parent | 2fe4ef66991b483640f59873c22b3af671626ccc (diff) | |
| download | godot-88a56ba783d36d52a1023759e69f026b1ae255b4.tar.gz godot-88a56ba783d36d52a1023759e69f026b1ae255b4.tar.zst godot-88a56ba783d36d52a1023759e69f026b1ae255b4.zip | |
Diffstat (limited to 'core/io/tcp_server.cpp')
| -rw-r--r-- | core/io/tcp_server.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/io/tcp_server.cpp b/core/io/tcp_server.cpp index b8a783152..cb82b3fc5 100644 --- a/core/io/tcp_server.cpp +++ b/core/io/tcp_server.cpp @@ -44,14 +44,8 @@ TCP_Server* TCP_Server::create() { return _create(); } -void TCP_Server::set_ip_type(IP::Type p_type) { - stop(); - ip_type = p_type; -} - void TCP_Server::_bind_methods() { - ClassDB::bind_method(_MD("set_ip_type","ip_type"),&TCP_Server::set_ip_type); ClassDB::bind_method(_MD("listen","port","bind_address"),&TCP_Server::listen,DEFVAL("*")); ClassDB::bind_method(_MD("is_connection_available"),&TCP_Server::is_connection_available); ClassDB::bind_method(_MD("take_connection"),&TCP_Server::take_connection); @@ -62,5 +56,5 @@ void TCP_Server::_bind_methods() { TCP_Server::TCP_Server() { - ip_type = IP::TYPE_ANY; + } |
