Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
mohini #1
Member since May 2017 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Web application using agsxmpp
I am developing chat application using openfire server and xmpp protocol with agsXMPP SDK and asp.net mvc, i have done login process.
 
I do not want to use MatriX XMPP SDK because it is paid. i am able to send message but not able to retrieve message, below code i am using for retrieve messages but is not working and where to call this method

  1. private void xmppClient_OnMessage(object sender, MailMessageEventArgs e)
  2. {
  3.     Response.Write(string.Format("OnMessage from {0}", e.Message.From));
  4.     Response.Write(string.Format("Body {0}", e.Message.Body))
  5. }
please help me
This post was edited on 2017-06-01, 18:41 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please read this post:
https://www.ag-software.net/2012/08/20/web-clients-with-ma…

and study this example:
https://gitlab.com/matrix-xmpp/samples/tree/master/csharp/…

When you don"t want to use MatriX then port this code to agsXMPP. The concepts are the same.
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