summaryrefslogtreecommitdiffstats
path: root/drivers/unix/stream_peer_tcp_posix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2016-12-20 15:13:16 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2017-01-13 19:02:39 +0100
commit55b4f3686d8f51958132a1a1745cc4e128fd118d (patch)
tree166970b41aa83726525a395303ca3a0ec0949533 /drivers/unix/stream_peer_tcp_posix.h
parentd2aae675e92cbe99706564e2cffbc34ed7cea639 (diff)
downloadredot-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.h3
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;