diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-10-27 05:54:42 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-10-30 17:46:05 +0100 |
commit | ee69bd81cfa67eb5c642604f0f43d711ab370faf (patch) | |
tree | 5479874b8000665e02d97f8557d9a2af07dc1c09 /drivers/unix | |
parent | 1944635ac4f3e9f12b176c2f38d43205195c35c5 (diff) |
TCPServer listen now default to IP type ANY (v6 socket with v4 support)
Diffstat (limited to 'drivers/unix')
-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 134ec494cb..a700b6ae0e 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, IP_Address::AddrType p_type = IP_Address::TYPE_IPV4, const List<String> *p_accepted_hosts=NULL); + virtual Error listen(uint16_t p_port, IP_Address::AddrType p_type, const List<String> *p_accepted_hosts=NULL); virtual bool is_connection_available() const; virtual Ref<StreamPeerTCP> take_connection(); |