From dfbbb5bcacab08d685924b1619296a0f11c3f93c Mon Sep 17 00:00:00 2001 From: Artur Zelik <71844365+forvev@users.noreply.github.com> Date: Tue, 10 Mar 2026 14:55:39 +0100 Subject: [PATCH] add a missing (required) argument to udp_socket Couldn't build the ros workspace as the second argument was missing. According to the Poco repo, DatatagramSocket indeed requires the second argument as shown below: DatagramSocket(const SocketAddress& address, bool reuseAddress, bool reusePort = false, bool ipV6Only = false); --- test/mock_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mock_server.cpp b/test/mock_server.cpp index 5e5ef2fc..a052592d 100644 --- a/test/mock_server.cpp +++ b/test/mock_server.cpp @@ -139,7 +139,7 @@ void MockServer::serverThread() { : typename C::Connect::Response(C::Connect::Status::kSuccess); }); - Poco::Net::DatagramSocket udp_socket({kHostname, 0}); + Poco::Net::DatagramSocket udp_socket({kHostname, 0}, true); udp_socket.setBlocking(true); Socket udp_socket_wrapper; udp_socket_wrapper.sendBytes = [&](const void* data, size_t size) {