From e9d8a8b052150f42ea00da2c07e3f78a9b7d2061 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 24 Mar 2026 17:25:03 +0100 Subject: Add JettingProxy relay, convert Xpl2Client to active connection model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Insert a transparent TCP proxy between the controller and N clients: - JettingProxy listens on 9110-9112 (controller) and 9210-9212 (clients) - Broadcasts controller frames to all clients, forwards client→controller - Independent KA_PING handling on both sides Convert Xpl2Client from passive QTcpServer listener to active QTcpSocket outbound connections with auto-retry. New QML API: host/commandPort properties, connectToProxy()/disconnectFromProxy() replacing startListening()/stopListening(). --- jetting-proxy/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 jetting-proxy/CMakeLists.txt (limited to 'jetting-proxy/CMakeLists.txt') diff --git a/jetting-proxy/CMakeLists.txt b/jetting-proxy/CMakeLists.txt new file mode 100644 index 0000000..6e3c055 --- /dev/null +++ b/jetting-proxy/CMakeLists.txt @@ -0,0 +1,6 @@ +qt_add_executable(JettingProxy main.cpp JettingProxy.h JettingProxy.cpp) + +set_target_properties(JettingProxy PROPERTIES RUNTIME_OUTPUT_DIRECTORY + "${PROJECT_BINARY_DIR}/bin") + +target_link_libraries(JettingProxy PRIVATE Qt6::Core Qt6::Network) -- cgit v1.2.3