diff options
| author | Fabio Alessandrelli | 2016-10-29 03:30:59 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-12-11 18:12:46 +0100 |
| commit | 2fff8e8cde93eeb0f0297b543c126347303e9cdf (patch) | |
| tree | 7a6709719145d2cb7c2d4c624f80311aa21f9aeb /core/io/tcp_server.cpp | |
| parent | 754e9aa60a8892cdd6c1d74a822f049f1c71d831 (diff) | |
| download | godot-2fff8e8cde93eeb0f0297b543c126347303e9cdf.tar.gz godot-2fff8e8cde93eeb0f0297b543c126347303e9cdf.tar.zst godot-2fff8e8cde93eeb0f0297b543c126347303e9cdf.zip | |
Diffstat (limited to 'core/io/tcp_server.cpp')
| -rw-r--r-- | core/io/tcp_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/tcp_server.cpp b/core/io/tcp_server.cpp index 53d6e900f..894cccf69 100644 --- a/core/io/tcp_server.cpp +++ b/core/io/tcp_server.cpp @@ -58,7 +58,7 @@ Error TCP_Server::_listen(uint16_t p_port, IP_Address::AddrType p_type, DVector< void TCP_Server::_bind_methods() { - ObjectTypeDB::bind_method(_MD("listen","port","accepted_hosts"),&TCP_Server::_listen,DEFVAL(IP_Address::TYPE_IPV4), DEFVAL(DVector<String>())); + ObjectTypeDB::bind_method(_MD("listen","port","ip_type", "accepted_hosts"),&TCP_Server::_listen,DEFVAL(IP_Address::TYPE_ANY),DEFVAL(DVector<String>())); ObjectTypeDB::bind_method(_MD("is_connection_available"),&TCP_Server::is_connection_available); ObjectTypeDB::bind_method(_MD("take_connection"),&TCP_Server::take_connection); ObjectTypeDB::bind_method(_MD("stop"),&TCP_Server::stop); |
