From 4560aacb10a4a91a18c4c67cbf126f7011466f6f Mon Sep 17 00:00:00 2001 From: Berk Silemek <berk.silemek@gmail.com> Date: Mon, 9 Jan 2023 12:43:22 +0000 Subject: [PATCH] Update COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py --- COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py | 1 + 1 file changed, 1 insertion(+) diff --git a/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py b/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py index cefc3e4..c956c8c 100644 --- a/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py +++ b/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py @@ -340,6 +340,7 @@ class Main(QtGui.QMainWindow): #Close the socket: call close($FD) #Close the debugger: quit Source: https://www.scm.keele.ac.uk/staff/stan/2016/05/16/closing-sockets-without-killing-processes/ #Unfortunately the debian is limited. Some functions may not be found but the idea should be implementable. + #You can find another example with screenshots in the project's folder def dConnectDongle(self): self.remoteSocket = socket(AF_INET, SOCK_STREAM) self.remoteSocket.setsockopt(SOL_SOCKET,SO_REUSEADDR,1) -- GitLab