我可以使用agsxmpp lib对xmpp/jabber服务器进行编程吗

编程入门 行业动态 更新时间:2024-10-26 14:38:19
本文介绍了我可以使用agsxmpp lib对xmpp/jabber服务器进行编程吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好:) 我和我在大学里的朋友们正在努力用c#编程xmpp/jabber服务器(简单) agsxmpp链接: www.ag-software.de/download.html [ ^ ] 我想知道我们是否可以使用agsxmpp库对该简单服务器进行编程,或者是否有另一种方法:thumbsup: 我们已经尝试了库帮助附带的示例服务器,但是它无法正常运行 任何人都可以在这里帮我>>>

Hi everyone :) Me and My friends at the college are taring to program an xmpp/jabber server(Simple) with c# agsxmpp link : www.ag-software.de/download.html[^] I''m wondering if we can use the agsxmpp library to program this Simple-server Or if there is another way to it :thumbsup: We have tried the example server that came with the library help But it didn''t work correctly anyone can help me here >>>

推荐答案

Ahmad Hag Muhammad写道: Ahmad Hag Muhammad wrote:

我们已经尝试了库帮助附带的示例服务器,但该服务器无法正常工作

We have tried the example server that came with the library help But it didn''t work correctly

您将需要比这更具体.您收到错误消息了吗? 我已经下载了SDK,解压缩了内容,打开了agsXMPP2008解决方案,选择了服务器项目,启动了它,取消了针对移动版本的部署对话框,然后单击了启动服务器"按钮. 您可以使用XMPP客户端访问服务器.我使用某些Java客户端 [ ^ ].选择Jabber网络,转到高级并设置"localhost"(或xmpp服务器的名称),选择一个名称和密码并连接:)

You''ll have to be a bit more specific than that. Did you receive an error? I''ve downloaded the SDK, unzipped the stuff, opened the agsXMPP2008-solution, selected the server-project, started it, cancelled out of the deployment-dialogue for the mobile-version, and clicked the "Start server" button. You can access your server using an XMPP client. I''ve connected using some Java-client[^]. Select the Jabber-network, go to advanced and set "localhost" (or the name of your xmpp-server), pick a name and password and connect :)

非常感谢 当您连接到服务器时,它会向您发送一些联系人 项目1 项目2 项目3 .. . 项目10 问题是您不能与连接到服务器的其他客户端聊天,也不能添加新联系人 Thank you very much when you connect to the server , It sends you some contacts item 1 item 2 item 3 .. . item 10 The problem is that you can''t chat with other clients that are connected to the server and you can''t add new contacts

Ahmad Hag Muhammad写道: Ahmad Hag Muhammad wrote:

问题是您无法与连接到服务器的其他客户端聊天,也无法添加新联系人.

The problem is that you can''t chat with other clients that are connected to the server and you can''t add new contacts.

是的,该示例显示了如何检索(静态)联系人列表.也没有身份验证机制,您必须自己编写这些部分.

Yup, the example shows how to retrieve a (static) list of contacts. There''s also no authentication-mechanism, you''ll have to program those parts yourself.

更多推荐

我可以使用agsxmpp lib对xmpp/jabber服务器进行编程吗

本文发布于:2023-08-07 13:41:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1319357.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以使用   服务器   agsxmpp   lib   xmpp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!