C++ 中的 Jabber 服务器库
我正在寻找 C++ 中的 jabber 服务器库。 我尝试过 glooxd,但它很难编译,有错误,并且一年多以来没有任何活动。
我想做的是能够构建一个接受 xmpp 流的流程,实现它自己的方式来验证和构建自定义名册。
I'm looking for a jabber server library in C++.
I tried glooxd but it's tough to compile, buggy and no activity since more than a year now.
What I'm trying to do, is to be able to build a process that accept xmpp stream, implement it own way to authentify and build custom rosters.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 Swiften,这是 XMPP 场景中相对较新的成员。它主要用于客户端 Swift,但也由 Spectrum 2,它可以充当客户端的服务器。
在 Swift git repo 中,还有一个名为 Slimber,充当 无服务器消息传递中的客户端模式,然后将其呈现为普通的客户端界面。 Spectrum 2 和 Slimber 的服务器部分可能对您学习有用。
Check out Swiften, a relatively new addition to the XMPP scene. It's primarily used in the client Swift, but also by Spectrum 2, which can act as a server to clients.
In the Swift git repo, there's also a tool called Slimber, that acts as a client in serverless messaging mode, and then presents that as a normal client interface. The server parts of Spectrum 2 and Slimber may be useful for you to study.
查看 Sourceforge 上的
libxmpp
项目。我对此了解不多。然而,几年前,我在 Loudmouth 库之上编写了一个 C++ 层。将 C 库结构包装在精简的 C++ 类中并不困难。Libxmpp:http://sourceforge.net/projects/xmpp/
Loudmouth:https://launchpad.net/loudmouth
Check out the
libxmpp
project on Sourceforge. I don't know much about it. However, a number of years ago, I wrote a C++ layer on top of theloudmouth
library. It's not hard to wrap the C library constructs in thin C++ classes.Libxmpp: http://sourceforge.net/projects/xmpp/
Loudmouth: https://launchpad.net/loudmouth