Jul-10-2023, 04:39 PM
Actually, you are not listening for TCP commands. You listen for 1 TCP command.
You'll want to put this inside the while loop.
You'll want to put this inside the while loop.
data = client_socket.recv(1024).decode().strip()