Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am very new to the world of webdevelopment and jumped into the bandwagon because I find the concept of HTML5 very interesting.(我对网络开发的世界很陌生并且加入了这个潮流,因为我发现HTML5的概念非常有趣。)

I am fairly confident on working with canvas and would now like to move over to websockets part of it.(我对使用canvas非常有信心,现在想转移到websockets部分。) I have come to understand socket.io is by far the framework to work with, when we want to work with web sockets.(我已经开始了解socket.io是迄今为止使用的框架,当我们想要使用Web套接字时。) Any pointers on what tutorial and examples to refer to for a total dummy would be very appreciated!(关于什么教程和示例参考总虚拟的任何指针将非常感谢!)   ask by Shouvik translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
544 views
Welcome To Ask or Share your Answers For Others

1 Answer

To start with Socket.IO I suggest you read first the example on the main page:(从Socket.IO开始,我建议你首先阅读主页上的例子:)

http://socket.io/(http://socket.io/) On the server side , read the "How to use" on the GitHub source page:(在服务器端 ,阅读GitHub源页面上的“如何使用”:) https://github.com/Automattic/socket.io(https://github.com/Automattic/socket.io) And on the client side :(在客户端 :) https://github.com/Automattic/socket.io-client(https://github.com/Automattic/socket.io-client) Finally you need to read this great tutorial:(最后你需要阅读这个很棒的教程:) http://howtonode.org/websockets-socketio(http://howtonode.org/websockets-socketio) Hint : At the end of this blog post, you will have some links pointing on source code that could be some help.(提示 :在这篇博文的最后,你会看到一些指向源代码的链接,可能会有所帮助。)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...