Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
mazhestiq #1
Member since Nov 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
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
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
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
Member since Nov 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
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
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes, this is how it works.
Avatar
dbacher #5
Member since Dec 2008 · 1 post
Group memberships: Members
Show profile · Link to this post
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
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
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.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS