Not logged in. · Lost password · Registration disabled
Forum: agsXMPP RSS
Avatar
mazhestiq #1
Subject: How connect to ICQ server?
Need to connect to ICQ server and send message ot client:
this my source code but it does not connect user to server.

XmppClientConnection client = new XmppClientConnection();
client.Server = "login.icq.com";
client.Username = "466629529";
client.Password = "********";
client.Port = 5190;
client.Open();
Avatar
Alex #2
you can't connect to teh ICQ server directly with XmppClientConnection because the ICQ server does not speak XMPP.
You need a XMPP server which is running an ICQ Gateway. This Gateway translated the proprietary OSCAR protocol to ICQ and vice versa. Then you can register and use this transport over agsXMPP.
There are different Open source projects for Gateways. The Openfire Gateway Plugin [1] seems to be very popular.

Alex

[1] http://www.igniterealtime.org/projects/openfire/plugins.jsp
Avatar
mazhestiq #3
thank you for answer
i register new account on jabber.snc.ru then register agent for icq on icq.jaberr.snc.ru then i can send message to icq clients
sorry for my french
Avatar
Alex #4
yes, this is how it works.
Avatar
dbacher #5
For ICQ and AIM:
            xmppCon.Password = Console.ReadLine();
            xmppCon.Username = jid.User;
            xmppCon.Server = "xmpp.oscar.aol.com";
            xmppCon.Port = 5222;
            xmppCon.UseStartTLS = true;
            xmppCon.AutoAgents = false;
            xmppCon.AutoPresence = true;
            xmppCon.AutoRoster = true;
            xmppCon.AutoResolveConnectServer = true;

For AIM:
screen_name@aol.com for the JID

For ICQ:
12345678@aol.com for the JID
Avatar
Alex #6
AOL had a XMPP server running on xmpp.oscar.aol.com a while ago.
I don't think this server is running anymore, and AFAIK this was only a XMPP experiment from AOL and no serious XMPP connector.
Forum: agsXMPP RSS