Anyone recommeding a way to get me understand how XMPP works

Hi,

I have recently started to develop an XMPP client running on iPhone by using XMPPframework which is coded in object-c.

However, I’m new to XMPP so I realized at least I should learn how the messages exchange to function a certain feature.

So what I thought is using spark and network packet sniffering tool, i might be able to learn how it works… but unforunately, all protocol is encrypted. therefore, i couldn’t see any exchanges… anyone help me out to get over this? I knew some like how chat message is sent but i don’t know how the client requests the user info from the server or… how to register a friend and accept so and so forth…

The best way would be to read here http://xmpp.org/extensions/

You should find everything you might need