I am new to these two connections. I used to work with HTTP Connection before and now I wanna move to a new type of connection. I searched about connections and got these two types: Socket Connection and XMPP Connection. What is the main difference between them? I wanna use this for a chat application so which type is better recommended? Thanks
Share
XMPP is a protocol for communication and so is HTTP. Both XMPP and HTTP will internally use socket connections.
You are confused between application protocols and network layer.