aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli2017-01-18 08:37:24 +0100
committerFabio Alessandrelli2017-01-23 20:15:20 +0100
commitb2839343cab66880f647c77da7b2e1826761776a (patch)
tree44a10cc71b474354f3b4d20b3244d5306a9e65dd /drivers/unix/tcp_server_posix.h
parent4198291cd45da7fce278d21cd5ef4a506086d5f8 (diff)
downloadgodot-b2839343cab66880f647c77da7b2e1826761776a.tar.gz
godot-b2839343cab66880f647c77da7b2e1826761776a.tar.zst
godot-b2839343cab66880f647c77da7b2e1826761776a.zip
Diffstat (limited to 'drivers/unix/tcp_server_posix.h')
-rw-r--r--drivers/unix/tcp_server_posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/unix/tcp_server_posix.h b/drivers/unix/tcp_server_posix.h
index 6f9fa8cb5..ea42d0fc0 100644
--- a/drivers/unix/tcp_server_posix.h
+++ b/drivers/unix/tcp_server_posix.h
@@ -35,12 +35,13 @@
class TCPServerPosix : public TCP_Server {
int listen_sockfd;
+ IP::Type sock_type;
static TCP_Server* _create();
public:
- virtual Error listen(uint16_t p_port,const List<String> *p_accepted_hosts=NULL);
+ virtual Error listen(uint16_t p_port, IP_Address p_bind_address=IP_Address("*"));
virtual bool is_connection_available() const;
virtual Ref<StreamPeerTCP> take_connection();