flask socketio emit to specific user

I’m not sure I understand the logic behind emitting to the first client, but anyway, this is how to do it: clients = [] @socketio.on(‘joined’, namespace=”/chat”) def joined(message): “””Sent by clients when they enter a room. A status message is broadcast to all people in the room.””” # Add client to client list clients.append(request.sid) room … Read more