Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
s.ghasemi #1
Member since Jul 2017 · 29 posts
Group memberships: Members
Show profile · Link to this post
Subject: no connect agsXmppClient to my OpenFire
I installed an OpenFire and Spark on my PC and Create two user,there was relation ok,I going to write a short perogram in client with C# and use agsXMPP lib or matriX for connect to OpenFire server,could you please guide me that what should I do? sampele:

  1.     XmppClientConnection xmpp = new XmppClientConnection("localhost");
  2.                 xmpp.Open("sajad", "1234512345");
  3.                 xmpp.OnLogin += delegate (object o) {
  4.                     xmpp.Send(new Message("userTest@localhost", MessageType.chat, "Hello, how are you?"));
  5.                 };

no work!!
This post was edited 2 times, last on 2017-07-11, 13:37 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please watch those 2 screencasts. They show you exactly how it works.
https://www.ag-software.net/matrix-xmpp-sdk/screencasts/
Avatar
s.ghasemi #3
Member since Jul 2017 · 29 posts
Group memberships: Members
Show profile · Link to this post
Thank you dear Alex, It was very useful...
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