Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Last active March 30, 2020 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamigibbs/c9a42ccdf13eb9ca215b1d7f9b4e0bd8 to your computer and use it in GitHub Desktop.
Save jamigibbs/c9a42ccdf13eb9ca215b1d7f9b4e0bd8 to your computer and use it in GitHub Desktop.
Server socket on input
socket.on('transmit', () => {
io.emit('chatupdated');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment