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.
So i will do! :)
anyway, thank you for your help, Jakob
i go on trying
regards
pellex
________________________________
De: Jakob Schroeter
Quoting Daniel Pellejero <danipellex@xxxxxxxx>:
> Thank you, Ivo and Benjamin, but still nothing.
> Any of your approaches solved my problem.
>
> Maybe my simple problem is not so simple:
> I am not able to connect a jabber server by knowing: IP, PORT, USER, PASSWORD
> I dont know its DOMAIN NAME, so i cannot build properly the JID.
>
> How to connect to the IP and extract from the initial XMPP messages the
> domain name to send my complete JID?
That's not possible in XMPP. The client has to know the server's name when
first talking to the server. Depending on the sever's configuration that name
can be an IP, though. (In that case all JIDs are of the node@IP form).
cheers,
Jakob
--gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx