Show the players

Send keepalive pings. Remove players who haven't sent pings.
This commit is contained in:
jude
2023-01-14 16:59:11 +00:00
parent 39c31e0f90
commit 8e22d37b64
4 changed files with 44 additions and 4 deletions

3
app.py
View File

@ -12,9 +12,8 @@ def index():
@socketio.event
def message(data):
print(data)
emit('message', data, broadcast=True)
if __name__ == '__main__':
socketio.run(app, log_output=True)
socketio.run(app, log_output=True, debug=True)