From 0e26734023b70743ddf9332b164e2ee4f2976b37 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 30 Nov 2017 19:13:55 +0100 Subject: [PATCH] restreaming stop fix --- slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp b/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp index 6f9cedf62..b08087bf2 100644 --- a/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp +++ b/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp @@ -2489,6 +2489,12 @@ int slsReceiverTCPIPInterface::enable_gap_pixels() { if (ret == OK && mySock->differentClients) ret = FORCE_UPDATE; + // send answer + mySock->SendDataOnly(&ret,sizeof(ret)); + if (ret == FAIL) + mySock->SendDataOnly(mess,sizeof(mess)); + mySock->SendDataOnly(&retval,sizeof(retval)); + // return ok/fail return ret; }