We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edi开发者_JAVA技巧t the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this questionWhere can I find code-examples for socket.io?
Thanks
Have you checked the Projects using Socket.IO section here on the Socket.IO wiki? There are several resources there. There's also a great example tutorial here by Dave Walsh, and here's a chatroom example.
I would play around with balloons.io. It is a pretty full featured chat app, that uses socket.io, node.js and redis.
http://balloons.io/
The project is open-source on github
https://github.com/gravityonmars/Balloons.IO
I have created a brand new chat piece of functionality for our website using many of the characteristics of this project. I would strongly recommend downloading it and getting it running on your localhost.
精彩评论