Socket.io disconnection reconnection problem!

Project is a chat room project. After the user joins the room, the phone lock screen will be disconnected, so that the user will not notify the person in the room when the user opens the screen. How to use the disconnection reconnection mechanism of socket, so that the user can speak directly and do not have to re-enter the room?

Jan.08,2022

reconnect event should be able to solve the problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9a353-17ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9a353-17ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?