[JDEV] Using ICQ Transport From a Program Question
Mike Petras
petras at home.com
Tue May 23 20:25:15 CDT 2000
I am trying to write a program that connects to the jabber.com server to send messages to Jabber, ICQ and AOL users. I created an account (mikewp) using the JabberIM client and added my ICQ account using JabberIM. It works great - I can send and receive messages to and from Jabber and ICQ clients (haven't tried AIM yet). In my program I connect to jabber.com on 5222 and open the XML stream as described in the Client / Server documentation. Then I send the iq message to log in to that same mikewp account. All of this works great - I get the XML responses described in the documentation. But when I try to send a message to icq#@icq.jabber.com I get an error message saying I'm not authorized to use the ICQ transport. I suspect I'm missing a step involving logging in to use the ICQ transport that the JabberIM client performs because it knows about my ICQ account.
Any suggestions of things to try? Any pointers to documenation?
Any help is much appreciated.
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20000523/44a27180/attachment-0002.htm>
More information about the JDev
mailing list