Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
jessecha #1
Member since Feb 2012 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: advance server sample?
Hi, I'm with a company which recently involves a instant-messaging service for cross plate-form and I'm surveying all the options. I wonder if there's any chance that you have a more advance server sample (or demo) for I'm new in xmpp.

And another small question is I download both agsXmpp and Matrix for trial. I can use Spark im client to connect the server sample in agsXmpp for no problem (get the roster list) but fail in Matrix. I go through the code and make sure it passed authentication but the client still pops login fail message. Would you mind telling me that where I missed or what I should change? Thanks!!!

Jesse
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by jessecha:
Hi, I'm with a company which recently involves a instant-messaging service for cross plate-form and I'm surveying all the options. I wonder if there's any chance that you have a more advance server sample (or demo) for I'm new in xmpp.

we currently only have the server examples which ships with the SDKs.
In most cases its not required to write your own server. You can compare XMPP to HTTP. When you create a web app you normally also don't need to write an HTTP server. You only choose the Web server of your choice and install it, or choose a hosting provider. This is exactly the same with XMPP. You choose the XMPP server of your choice, use any public server or a hosting provider.

However in some cases its required that you have your own XMPP server. But then you must go very deep into XMPP and need lots of knowledge of the protocol, even when MatriX does most of the work for you.

Quote by jessecha:
And another small question is I download both agsXmpp and Matrix for trial. I can use Spark im client to connect the server sample in agsXmpp for no problem (get the roster list) but fail in Matrix. I go through the code and make sure it passed authentication but the client still pops login fail message. Would you mind telling me that where I missed or what I should change? Thanks!!!
The server example from agsXMPP is pretty old and not compatible with the latest standards. This is why MatriX is probably not able to connect. Either use the server that comes with MatriX, any public server (eg, your GTalk is), or install one of the available server [1].

Alex

[1] http://xmpp.org/xmpp-software/servers/
Avatar
jessecha #3
Member since Feb 2012 · 2 posts
Group memberships: Members
Show profile · Link to this post
Hi Alex,

Thank you for your quick reply. The reason why I'm looking to build server is that my company has it's own staff info needs to be processed (some authentications and roster list) and logs some certain user actions (evil...). I am seeking a .net server solution is for the staff info is secured and can only be accessed by .net dll function calls for security and authority reasons.

I'll start digging into XMPP and thanks for the server list, I''ll try them out.

Thanks!

Jesse
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by jessecha:
Thank you for your quick reply. The reason why I'm looking to build server is that my company has it's own staff info needs to be processed (some authentications and roster list) and logs some certain user actions (evil...). I am seeking a .net server solution is for the staff info is secured and can only be accessed by .net dll function calls for security and authority reasons.

in this case it makes sense to write your own custom server. You should study the MatriX server sample then. But in order to be able to write a server you also have to study the XMPP RFCs in detail.
Don't hesitate to contact me if you need more info. You can reach me also by email.

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:
Forum: MatriX RSS