Skip to content
Snippets Groups Projects
Commit 4560aacb authored by Berk Silemek's avatar Berk Silemek
Browse files

Update COSI-Measure/External_Control_Scripts/cosi_gui_testbed.py

parent 43a03700
Branches
No related tags found
No related merge requests found
...@@ -340,6 +340,7 @@ class Main(QtGui.QMainWindow): ...@@ -340,6 +340,7 @@ class Main(QtGui.QMainWindow):
#Close the socket: call close($FD) #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/ #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. #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): def dConnectDongle(self):
self.remoteSocket = socket(AF_INET, SOCK_STREAM) self.remoteSocket = socket(AF_INET, SOCK_STREAM)
self.remoteSocket.setsockopt(SOL_SOCKET,SO_REUSEADDR,1) self.remoteSocket.setsockopt(SOL_SOCKET,SO_REUSEADDR,1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment