1. I want to do instant messaging. The current technologies are node.js and Android. I want to do instant messaging and push based on this.
2. I have never used socket.io before. I don’t know what is the difference between this and the socket we traditionally use, or is it a layer of packaging based on the previous socket.
3. I hope you can introduce the advantages and disadvantages of using socket.io, or if there are other solutions. Thank you very much
習慣沉默2017-06-30 09:59:09
socket.io对多种轮询方式做了封装处理,也包括了websocket。
用着还是挺好的,缺点是出了问题维护成本太大,因为他是封装好的可能你根本不知道问题在哪。