Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
haac #1
Member since Sep 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Add Contacts
Hi!
I´m starting to code a jabber client, but i really dont know much aboout agsXMPP library (and about jabber ).
Doing a google search i found this great article http://www.codeproject.com/KB/IP/JabberClient.aspx
Now i can connect my client to an openfire server installed on a server, but how can i add contacts to my list?
Thanks for the help.
Hugo
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please look at the MiniClient example. This is a complete chat client and there should be all you need.

Alex
Avatar
haac #3
Member since Sep 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks Alex, i'm studying the example and trying to make my web client.
Since the example has more features that the ones i need (connect to a server, get a list of contacts, chat, add contacts and create a new account)
can you give me some pointers on what parts of the code should i concentrate?
Thanks
Avatar
haac #4
Member since Sep 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
Can i use controls like the RosterControl in a web project? or i'm going in the wrong direction
Avatar
Alex #5
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by haac:
Can i use controls like the RosterControl in a web project? or i'm going in the wrong direction

no, those are windows forms controls. And you need webcontrols. But you can study the code and port them to webcontrols.

Alex
Avatar
Alex #6
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #3
Quote by haac:
Thanks Alex, i'm studying the example and trying to make my web client.
Since the example has more features that the ones i need (connect to a server, get a list of contacts, chat, add contacts and create a new account)
can you give me some pointers on what parts of the code should i concentrate?
Thanks

just read and debug the code. I think the code is pretty easy to read and understand.
For example the add contact code you need is all in the add contact form.
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