Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stevepentler/39027fc7711da88fd3e156cc4b69f1a3 to your computer and use it in GitHub Desktop.
Save stevepentler/39027fc7711da88fd3e156cc4b69f1a3 to your computer and use it in GitHub Desktop.

Web Sockets Lesson Plan

  • Fork this gist
  • Include a link to your application's repo
  • https://github.com/stevepentler/Websockets_Workshop
  • Your repo should have a link to your production app in the README
  • Include questions/comments for anything you'd like us to specifically give you feedback on
  • I completed all the "Your Turn" but I don't thing it's emitting properly. Lets imagine there are 5 users. If user 5 opens a web socket, the poll will be live with the responses from users 1-4. However, the updated poll is not send back to user one when websocket 5 submits the poll. I was fiddling with io.sockets.emit.. but couldn't get it firing.
  • The websockets homework is graded on 'completion' or 'semi-completion' - but we'll try to leave you feedback on anything we see that requires feedback in the gist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment