Infinite loops on server side
ebest (554)

Well...

I got this thing called Pychat, with a server and a client, and I have this idea. I want to add a feature that detects when someone closes their tab, so I can say that they left. I already tried using threading, but it froze the server.

Server Unrelated note: Can someone try hacking the server?

Client

This gives me much trouble.

-Ebest

You are viewing a single comment. View All
Answered by samdevz (31) [earned 5 cycles]
View Answer
mwilki7 (147)

@ebest Use JavaScript to send some sort of HTTP response to the python server and have the server handle the response from there.