Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Ahmad #1
Member since Apr 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: can I program an xmpp/jabber server using agsxmpp lib
Hi everyone

Me and My friends at the college are taring to program an xmpp/jabber server(Simple) with c#

I'm wondering if we can use the agsxmpp library to program this Simple-server

We have tried the example server that came with the library help But it didn't work correctly


anyone can help me here >>>
This post was edited 2 times, last on 2010-04-14, 00:40 by Ahmad.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Yes you can. There are missing lots of features in the server example. But its good to get started with server programming. If you want to code your own sever you have to study and understand the XMPP RFC's.

Alex
Avatar
Ahmad #3
Member since Apr 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Thanks a lot

But In the server example can I do a simple chat between two clients

And if i studied  the Openfire Server source (which is programed with Java) can this help
(I only know how to program in .Net )
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by Ahmad:
But In the server example can I do a simple chat between two clients

its pretty easy. Just keep a Table in memory with all connections and the assigned jid of the connection. Then you can pass the message from one connection to the other.

Quote by Ahmad:
And if i studied  the Openfire Server source (which is programed with Java) can this help
(I only know how to program in .Net )
IMHO no, Openfire is a complete server with tons of features.
Many people wrote small servers based on agsXMPP before. I think it makes more sense to download and study one of them. One link is here in the forums in "show your app". The Google search should find more servers.

Alex
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: