0

I'm working with a socket.io project like a chat room. Every time someone sends a message, they send a human friendly name (like "Joseph") along with their name to be shown with their message.

However, I'd like to know if there's a standard way to store these human readable names on the server instead of sending them with every message. In IRC you can set a name with /nick command. How can I achieve the same result using socket.io?

Couldn't find anything on socket.io documentation.

AlexStack
  • 16,766
  • 21
  • 72
  • 104

0 Answers0