我可以使用agsxmpp lib对xmpp/jabber服务器进行编程吗 [英] can I program a xmpp/jabber server using agsxmpp lib

查看:74
本文介绍了我可以使用agsxmpp lib对xmpp/jabber服务器进行编程吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:)

我和我在大学里的朋友们正在努力用c#编程xmpp/jabber服务器(简单)

agsxmpp链接:
http://www.ag-software.de/download.html [

Hi everyone :)

Me and My friends at the college are taring to program an xmpp/jabber server(Simple) with c#

agsxmpp link :
http://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客户端 [


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服务器进行编程吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆