aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.h
diff options
context:
space:
mode:
authorAriel Manzur2016-10-18 18:53:18 -0300
committerFabio Alessandrelli2016-12-11 12:35:06 +0100
commitfd1022fd2930f81e1d38ec1a233e74e175b26005 (patch)
tree5b18aaa969bebdc9aec124e57cb217bfef9a50d0 /drivers/unix/tcp_server_posix.h
parent24a440a34f0b83c6e385f08b9254fde8064a941a (diff)
downloadgodot-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.h2
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();