search

Home  >  Q&A  >  body text

javascript - Node js server, Android client, using socket.io for instant messaging, push, etc.

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

过去多啦不再A梦过去多啦不再A梦2698 days ago943

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-06-30 09:59:09

    socket.io对多种轮询方式做了封装处理,也包括了websocket。  
    用着还是挺好的,缺点是出了问题维护成本太大,因为他是封装好的可能你根本不知道问题在哪。
    

    reply
    0
  • Cancelreply