diff --git a/main.py b/main.py index 1f75357..c0b2ec4 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,8 @@ def TCPstart(): user, addr = sock.accept() print(user, " connected") data = user.recv(4096) # read first 4K of data - handler(data) + user.sendall(handler(data)) + user.close()