Conecte y desconecte el evento en Socketio Python
@sio.event
def connect(sid, environ, auth):
print('connect ', sid)
@sio.event
def disconnect(sid):
print('disconnect ', sid)
STEVE-ROLAND NDE TSAPI