Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
netlm #1
Member since Sep 2006 · 6 posts
Group memberships: Members
Show profile · Link to this post
Subject: send Messages
I am trying to create a XMPP Server. I use as base the example server. But i have some problems with the following things.


one client send Messages but the other client don't resave the Message.


this is Server Code:

  private void streamParser_OnStreamElement(object sender, Node e)
        {
            Console.WriteLine("OnStreamElement: " + e.ToString());
            if (e.GetType() == typeof(Presence))
            {
                // route presences here and handle all subscription stuff
    there please help me !!!            
    }
            else if (e.GetType() == typeof(Message))
            {
                // route the messages here
    there please help me !!!
            }
            else if (e.GetType() == typeof(IQ))
            {
                ProcessIQ(e as IQ);
            }
        }

please give me server example  thank you!
my email: shumi@126.com
This post was edited on 2006-09-20, 11:52 by netlm.
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
Please take a look at the following thread:
http://forum.ag-software.de/forum.php?req=thread&id=79
Software Developer
AG-Software
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 SDK Support RSS