了解如何使用socket.io(node js的模塊)製作最簡單的websocket。為此,您需要node.js(很明顯)和兩個模塊express,http和socket.io。
_________________________________________________________________
[+] 鏈接:https://allwebtuts.wordpress.com/2016/07/28/socketio-websocket/
[+] 網址:http://tutoid.cf/
[+] 訪問Tutoid:http://thetutoid.wordpress.com
_________________________________________________________________
如果您喜歡我的視頻,請給我個贊,不要忘記訂閱我的頻道! 。
使用Socket.io和Node.js的最簡單的Websocket
5 comments
Comments are closed.
are there any tutorial regarding how to create your own socket.io?
I mean I am wondering how the offline chat application works can be done also in web without using socket.io
I am unable to run your downloaded code from your blog
you're great man !!!
Turn off you washing machine!! 🙂
Great vid 🙂 You should try out JQuery for when youre modifying elements in the webpage, its much faster than regular javascript!