A, IM protocol selection
Second, select the IM server
three, XMPP protocol issues and improvement
Original Address: https: //blog.csdn.net/u013100574/article/details/53196531Login handshake improved XMPPQuickStart part (XEP 0305)
Improved heart Xmpp Ping / Pong (XEP 0199) 40+ bytes -> unidirectional white space ping, 4 bytes
Xmpp file transfer protocol file transfer is point to point, need to change the voice used to upload to the server http, upload and download images after video compression, the default download thumbnails
Presence of mobile Internet scene, not forward is online - always online
Muc Muc chat chat protocol is to be modified to a group of mobile social app. Sent to all users in the group when sending a message, not only made "online" users;
disable Presence