powered by Jive Software

IQ Packet?

Hi,

i have a little problem, i want to know what Service that was discovered the logged user can be register to.

So i need to know if in the received IQ packet it have the String :

jabber:iq:register

so how can i do ?

Nahuel,

What is it that you are trying to achieve? Are you trying to discover is a server supports In-Band registration (i.e. jabber:iq:register)?

AFAIK, it’'s not mandatory for the servers to advertise that they support In-Band Registration through service discovery. Having said that, you can try to use ServiceDiscoverManager to discover the information (i.e. supported features) of the server. To learn how to use ServiceDiscoverManager follow this link: http://www.jivesoftware.com/builds/docs/smack/latest/documentation/extensions/di sco.html

Regards,

– Gato