How does iChat start a conversation?

479 Views Asked by At


I want to know which protocol does iChat use to start a conversation with other client in LAN ?
is it SIP? or SIP + XMPP? start a session with SIP and exchange message with XMPP? thanks a lot!

2

There are 2 best solutions below

2
MattJ On BEST ANSWER

It uses Bonjour, XMPP but using multicast DNS for presence, and peer-to-peer connections instead of a server. The protocol was designed by Apple and then openly documented by the XMPP Standards Foundation as XEP-0174: Serverless Messaging.

0
seaguest On

So, I understand how does ichat work now. DSN-SD + XEP-0174.
unfortunately there isn't any java library for XEP-0174, but the connection is based on socket.
thanks for everyone's attention.