Hi Daniel,
I don't know if it is what you want, but you can do this:
j = new Client(jid, "1");
j->setPort(5222);
j->setServer("127.0.0.1");
cheers,
Ivo
[]'s
On Thu, Oct 15, 2009 at 14:07, Daniel Pellejero <danipellex@xxxxxxxx> wrote:
> hi,
> i have a xmpp client working properly using gloox and Qt.
>
> Now i want to connect using the ip server, not domain name,
> i mean:
> Client* m_pClient = new Client( "username", "password",
> <server-ip-address>, "resource" );
> despite of
> Client* m_pClient = new Client( "username@domain/resource", "password"
> );
>
> has anyone achieved it before? for sure...
>
> regards, and thanks in advance
> pellex
>
>
>
> --
> gloox-dev mailing list
> to unsubscribe:
> send a message with subject 'unsubscribe gloox-dev' to
> minimalist@xxxxxxxxxx
>
--
Ivo Augusto Andrade Rocha Calado
MSc. Candidate
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Electrical Engineering and Informatics Center - http://www.ceei.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
PGP: 0x03422935
Quidquid latine dictum sit, altum viditur.