diff --git a/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py b/COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py index cefc3e423690580b867b8321360c087248da9282..c956c8cb6cbcf06d75bee093ef043dcab26b9529 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)