fix: [Analyzer - close socket] use shutdown fct

gallypette-patch-1
Terrtia 2020-03-17 17:58:13 +01:00
parent 7078f341ae
commit 82b2944119
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
2 changed files with 2 additions and 2 deletions

View File

@ -83,4 +83,4 @@ if __name__ == "__main__":
print(d4_data)
client_socket.sendall(d4_data)
client_socket.close()
client_socket.shutdown(socket.SHUT_RDWR)

View File

@ -98,4 +98,4 @@ if __name__ == "__main__":
print(d4_data)
client_socket.send(d4_data)
client_socket.close()
client_socket.shutdown(socket.SHUT_RDWR)