mirror of https://github.com/D4-project/d4-core
fix: [Analyzer - close socket] use shutdown fct
parent
7078f341ae
commit
82b2944119
|
@ -83,4 +83,4 @@ if __name__ == "__main__":
|
||||||
print(d4_data)
|
print(d4_data)
|
||||||
client_socket.sendall(d4_data)
|
client_socket.sendall(d4_data)
|
||||||
|
|
||||||
client_socket.close()
|
client_socket.shutdown(socket.SHUT_RDWR)
|
||||||
|
|
|
@ -98,4 +98,4 @@ if __name__ == "__main__":
|
||||||
print(d4_data)
|
print(d4_data)
|
||||||
client_socket.send(d4_data)
|
client_socket.send(d4_data)
|
||||||
|
|
||||||
client_socket.close()
|
client_socket.shutdown(socket.SHUT_RDWR)
|
||||||
|
|
Loading…
Reference in New Issue