How to use service discovery to join a group chat
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 have you figured this out
@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.
k thanks that would be helpful
@sbsrouteur please send me also to me, in PM the library, in order to compare features etc. Is it open source or closed?
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.
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:
- S22.Xmpp (and Sharp.Xmpp) is superb on the bytestreams file transfer implementation! Enormous amount of difference.
- S22.Xmpp is much more "cleanly" written with very good examples.
- 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.
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.