Commit ae60a188 authored by Philipp Gast's avatar Philipp Gast
Browse files

fixed line that caused tests to fail. Added warning comment.

parent 76fb5806
Pipeline #472 failed with stage
in 4 minutes and 19 seconds
......@@ -27,7 +27,7 @@ class MplClient2():
def disconnect(self):
''' shutdown socket. Warning: If server and client are local the client can not shut down the port because the server has still a handle on it'''
print('closing the connection...')
self.sock.shutdown(socket.SHUT_WR)
# self.sock.shutdown(socket.SHUT_WR) # meant to shut down server without wait. _Warning_ enabling will cause break of program. !!!
self.sock.close()
self.connected = False
print('closing the connection... DONE')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment