diff options
| author | Ariel Manzur | 2016-10-18 18:53:18 -0300 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-12-11 12:35:06 +0100 |
| commit | fd1022fd2930f81e1d38ec1a233e74e175b26005 (patch) | |
| tree | 5b18aaa969bebdc9aec124e57cb217bfef9a50d0 /drivers/unix/tcp_server_posix.h | |
| parent | 24a440a34f0b83c6e385f08b9254fde8064a941a (diff) | |
| download | godot-fd1022fd2930f81e1d38ec1a233e74e175b26005.tar.gz godot-fd1022fd2930f81e1d38ec1a233e74e175b26005.tar.zst godot-fd1022fd2930f81e1d38ec1a233e74e175b26005.zip | |
adding ipv6
(cherry picked from commit 887a897c02144f2d01896d3112bdae5ce7d6df5c)
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 570bcaab1..134ec494c 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(); |
