Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Killaship authored May 16, 2023
1 parent e44a319 commit d273398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit d273398

Please sign in to comment.