Re: how to connect to server with IP, not domain name?
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Fri, 16 Oct 2009 17:39:47 +0200 (CEST)
Quoting Daniel Pellejero <danipellex@xxxxxxxx>:

Hi,

Jakob, it is possible in XMPP. I did it with a java client using SMACK, a java XMPP stack, which is perfectly jabber compliant. And if you see the xmpp messages the client and server swap (using gloox), you will see the first requests are ok, although client doesnt send the jabber domain anytime. Jabber session stablishment stops after some of them, when it is required to be sent the full JID.

The opening stream element's 'to' attribute must be present and its value must be a name the server knows. If a server allows this attribute to be omitted or ignores its value that's a 'feature' of that specific server implementation.

See http://tools.ietf.org/html/draft-ietf-xmpp-3920bis-02#section-5.3.2 for the details.

cheers,
Jakob