diff options
| author | Fabio Alessandrelli | 2016-10-27 05:54:42 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-10-30 17:46:05 +0100 |
| commit | ee69bd81cfa67eb5c642604f0f43d711ab370faf (patch) | |
| tree | 5479874b8000665e02d97f8557d9a2af07dc1c09 /platform | |
| parent | 1944635ac4f3e9f12b176c2f38d43205195c35c5 (diff) | |
| download | godot-ee69bd81cfa67eb5c642604f0f43d711ab370faf.tar.gz godot-ee69bd81cfa67eb5c642604f0f43d711ab370faf.tar.zst godot-ee69bd81cfa67eb5c642604f0f43d711ab370faf.zip | |
TCPServer listen now default to IP type ANY (v6 socket with v4 support)
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/windows/tcp_server_winsock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/tcp_server_winsock.h b/platform/windows/tcp_server_winsock.h index 94601a2e1..115fdb423 100644 --- a/platform/windows/tcp_server_winsock.h +++ b/platform/windows/tcp_server_winsock.h @@ -39,7 +39,7 @@ class TCPServerWinsock : 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(); |
