Respond with additional data so the client knows we interpreted things.

This commit is contained in:
Eli Ribble 2024-08-21 14:22:47 -07:00
parent 71a3076f99
commit d577928b3a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def bind_socket(family, type_, proto, canonname, sockaddr):
while True: while True:
data = conn.recv(1024) data = conn.recv(1024)
if not data: break if not data: break
conn.send(data) conn.send(("Hey " + data.decode("UTF-8").encode("UTF-8"))
if __name__ == "__main__": if __name__ == "__main__":
main() main()