S22.Xmpp icon indicating copy to clipboard operation
S22.Xmpp copied to clipboard

How to use service discovery to join a group chat

Open sbsrouteur opened this issue 10 years ago • 7 comments

How does one with S22.Xmpp use the service discovery to list the available chatrooms, and then how does one join such a chat room?

Could not find a sample for that.

sbsrouteur avatar Apr 06 '15 21:04 sbsrouteur

@sbsrouteur have you figured this out

YonathanFeyessa avatar Jul 23 '15 13:07 YonathanFeyessa

@yon86. I stopped using s22 and went back to another xmpp lib. Can tell you the lib name in a couple weeks if you need.

sbsrouteur avatar Jul 23 '15 18:07 sbsrouteur

k thanks that would be helpful

YonathanFeyessa avatar Jul 24 '15 07:07 YonathanFeyessa

@sbsrouteur please send me also to me, in PM the library, in order to compare features etc. Is it open source or closed?

pgstath avatar Jul 27 '15 08:07 pgstath

Lib name is agsxmpp. Sorry for posting this here, but S22 does not seem to have much activity, and I have not found any way to directly send you both a PM message.

sbsrouteur avatar Jul 31 '15 15:07 sbsrouteur

There is Sharp.Xmpp, which is a fork of S22.Xmpp actively developed. I have tested agsxmpp extensively, and I actually switched from it to S22. Xmpp because it did not satisfied my own needs. Agsxmpp supports many XMPP protocols and it is by all means very capable, however:

  1. S22.Xmpp (and Sharp.Xmpp) is superb on the bytestreams file transfer implementation! Enormous amount of difference.
  2. S22.Xmpp is much more "cleanly" written with very good examples.
  3. Lastly Agsxmpp is GPL licensed. This might be, or might be not an issue. Also the same publisher offers a closed source library. So it finally depends on the specific needs and protocols you want to use.

pgstath avatar Jul 31 '15 18:07 pgstath

I required joining a chat room for a demo, so implemented a quick hack at https://github.com/tewarid/Sharp.Xmpp/commit/d3f05b3dcc87236598ea706f69c90e11257ad5d8. Messages arrive through the normal XmppIm.Message event.

tewarid avatar Dec 28 '15 13:12 tewarid