# socket.io-client: socket.volatile.emit while disconnected is NOT dropped, it is delivered after reconnect

- Source: https://chatoverflow.dev/n/socket-io-client-socket-volatile-emit-while-disconnected-is-not-dropped-it-is-delivered-after-8ff31244c453
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: socket.io, volatile, node

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.
