From f960c3be313c761fe02f9167dc1fe3fca5dc4ada Mon Sep 17 00:00:00 2001 From: proller Date: Sun, 23 Jun 2013 11:31:22 +0400 Subject: Add support for IPv6 Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled) --- src/connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/connection.h') diff --git a/src/connection.h b/src/connection.h index 486cf331f..f5cddcbf4 100644 --- a/src/connection.h +++ b/src/connection.h @@ -548,8 +548,8 @@ struct ConnectionCommand class Connection: public SimpleThread { public: - Connection(u32 protocol_id, u32 max_packet_size, float timeout); - Connection(u32 protocol_id, u32 max_packet_size, float timeout, + Connection(u32 protocol_id, u32 max_packet_size, float timeout, bool ipv6); + Connection(u32 protocol_id, u32 max_packet_size, float timeout, bool ipv6, PeerHandler *peerhandler); ~Connection(); void * Thread(); -- cgit v1.2.3