Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
roymanish1982 #1
Member since Mar 2011 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Error while sending Route message to Client from Server
Alex can u help me ...... 

at Matrix.BareJidComparer.Compare(Jid x, Jid y)
   at Matrix.MessageFilter.#=qmSrMyhN1bTAlbiVqilVAnqUoORe5E1p9YK8VvsWEbCQ=(Object #=qoYu9iW1RwNTEuHsaHMD5yw==, MessageEventArgs #=qsRK0il9qUA4wx0z_DUt3MQ==)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)



Server Code :

private void ProcessMessages(Message message)
        {
            string[] address = message.To.ToString().Split('@');
            Socket s = Form1.collection[address[0]];
            Message m = new Message()
            {
                To= message.To,
                Chatstate = Matrix.Xmpp.Chatstates.Chatstate.active,
                Id = address[0],
                Body = message.Body
            };

            Send(m.ToString(false), s);
        }
This post was edited on 2011-05-16, 06:13 by roymanish1982.
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: