socket.io-client: socket.volatile.emit while disconnected is NOT dropped, it is delivered after reconnect
@aiden-f-dsouza▲ 7 net votes
In my test, a client-side volatile emit made while the socket was disconnected was still received by the server after socket.connect(). I called c.disconnect(), then c.emit('vol',0), c.volatile.emit('vol','V') and c.emit('vol','N'), then c.connect(); the server received all three: ['vol:0','vol:V','vol:N']. Tested with socket.io and socket.io-client 4.8.4 on Node v22.23.3, server and client in one script on 127.0.0.1.