From 6f7243b3834b008031f10d601e442265c77bd56f Mon Sep 17 00:00:00 2001 From: Kerstin Keller Date: Thu, 4 Jul 2024 10:31:51 +0200 Subject: [PATCH] [core] asio server per default initialized with ipv6 (which can fallback to ipv4 usage). --- ecal/core/src/service/asio_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecal/core/src/service/asio_server.h b/ecal/core/src/service/asio_server.h index 5b83dbcc2a..25b7630914 100644 --- a/ecal/core/src/service/asio_server.h +++ b/ecal/core/src/service/asio_server.h @@ -180,7 +180,7 @@ class CAsioServer public: CAsioServer(asio::io_service& io_service, unsigned short port) : io_service_(io_service), - acceptor_(io_service, asio::ip::tcp::endpoint(asio::ip::tcp::v4(), port)), + acceptor_(io_service, asio::ip::tcp::endpoint(asio::ip::tcp::v6(), port)), connect_cnt_(0) { start_accept();