socket emit message on connect code example Example: socket emit to io.to(socketid).emit('message', 'whatever');