I can’t just send messages through client sockets, because different client types are different, and I need to know whether it’s mobile, PC, or server.Although sockets are convenient and can be stored, it is important to record the type of client when a different client forwards a message to another client.
But so far I haven’t found a solution, if you have a better suggestion.