diff options
| author | Fabio Alessandrelli | 2017-01-18 08:37:24 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2017-03-22 20:25:52 +0100 |
| commit | 43d992fc3413af7a0fea54eeded8609e4ebd0f16 (patch) | |
| tree | df27c5e8e392de97e3f7d92fc391077b8b77812c /core/io/tcp_server.h | |
| parent | 90a747a52dac1214a1ff1c6b7c65228bf41a6e1f (diff) | |
| download | godot-43d992fc3413af7a0fea54eeded8609e4ebd0f16.tar.gz godot-43d992fc3413af7a0fea54eeded8609e4ebd0f16.tar.zst godot-43d992fc3413af7a0fea54eeded8609e4ebd0f16.zip | |
Diffstat (limited to 'core/io/tcp_server.h')
| -rw-r--r-- | core/io/tcp_server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h index 481945b6d..671b03308 100644 --- a/core/io/tcp_server.h +++ b/core/io/tcp_server.h @@ -43,12 +43,11 @@ protected: static TCP_Server *(*_create)(); //bind helper - Error _listen(uint16_t p_port, DVector<String> p_accepted_hosts = DVector<String>()); static void _bind_methods(); public: virtual void set_ip_type(IP::Type p_type); - virtual Error listen(uint16_t p_port, const List<String> *p_accepted_hosts = NULL) = 0; + virtual Error listen(uint16_t p_port, const IP_Address p_bind_address = IP_Address("*")) = 0; virtual bool is_connection_available() const = 0; virtual Ref<StreamPeerTCP> take_connection() = 0; |
