summaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.h
diff options
context:
space:
mode:
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 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();