diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-12-20 15:13:16 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-01-13 19:02:39 +0100 |
commit | 55b4f3686d8f51958132a1a1745cc4e128fd118d (patch) | |
tree | 166970b41aa83726525a395303ca3a0ec0949533 /drivers/unix/stream_peer_tcp_posix.h | |
parent | d2aae675e92cbe99706564e2cffbc34ed7cea639 (diff) | |
download | redot-engine-55b4f3686d8f51958132a1a1745cc4e128fd118d.tar.gz |
TCP connect always opens correct socket type
TCP client connections does not need to rely on ipv6 dual stack sockets
Diffstat (limited to 'drivers/unix/stream_peer_tcp_posix.h')
-rw-r--r-- | drivers/unix/stream_peer_tcp_posix.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/unix/stream_peer_tcp_posix.h b/drivers/unix/stream_peer_tcp_posix.h index 1df509cac4..bde7038c22 100644 --- a/drivers/unix/stream_peer_tcp_posix.h +++ b/drivers/unix/stream_peer_tcp_posix.h @@ -35,14 +35,13 @@ #include "core/io/stream_peer_tcp.h" #include "error_list.h" -#include "core/io/ip_address.h" - class StreamPeerTCPPosix : public StreamPeerTCP { protected: mutable Status status; + IP::Type sock_type; int sockfd; Error _block(int p_sockfd, bool p_read, bool p_write) const; |