Alcides Fonseca

40.197958, -8.408312

XMPP Notes

This are a few notes about the XMPP that will probably work as guidelines to the implementation of a XMPP server. The main source is the Core XMPP RFC

Each connection has a JID: node@domain/resource (Ex: me@alcidesfonseca.com/macbook ) could just be a domain(Each JID component length is 1023 tops).

  • Standard port (client): 5222
  • Standard port (server): 5269
  • There are XML stanzas (commands) send through XML Streams( <stream></stream> )
  • Client/Server uses one TCP connection
  • Server/Server uses two TCP connections. One for sending, the other for receiving.

Resources: