I want to start using flask socketIO for live chats and games on my web app. I am not sure what the difference is between send() and emit().
Asked
Active
Viewed 208 times
1
-
1`socket.send` creates an event called "message" to send data, while `socket.emit` can create events with custom names – Jake Jun 07 '21 at 17:01