diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-10-26 14:32:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-26 14:32:51 +0200 |
commit | c67e3a485dedae96b82c3356d5f45ab0509d7759 (patch) | |
tree | 748ab44c8ec645a8eee950991210bf6c620651d1 /drivers/unix/tcp_server_posix.h | |
parent | c7f9d853e206c15981330af46cfd0a0fc43fc5ef (diff) | |
parent | 80e911647c5df21c5b6a06876f1d48e21cd1f5fc (diff) |
Merge pull request #6925 from godotengine/ipv6
Adding IPv6 support
Diffstat (limited to 'drivers/unix/tcp_server_posix.h')
-rw-r--r-- | drivers/unix/tcp_server_posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/tcp_server_posix.h b/drivers/unix/tcp_server_posix.h index 570bcaab12..134ec494cb 100644 --- a/drivers/unix/tcp_server_posix.h +++ b/drivers/unix/tcp_server_posix.h @@ -40,7 +40,7 @@ class TCPServerPosix : public TCP_Server { public: - virtual Error listen(uint16_t p_port,const List<String> *p_accepted_hosts=NULL); + virtual Error listen(uint16_t p_port, IP_Address::AddrType p_type = IP_Address::TYPE_IPV4, const List<String> *p_accepted_hosts=NULL); virtual bool is_connection_available() const; virtual Ref<StreamPeerTCP> take_connection(); |