C#agsxmpp域与connectionserver
我需要与以下数据建立连接:C#agsxmpp域与connectionserver,xmpp,Xmpp,我需要与以下数据建立连接: Protocol: XMPP Username: <Your username> Password: AIR_<Your LoL password> Domain: pvp.net Connection security: Use old-style SSL Connect port: 5223 协议:XMPP 用户名: 密码:AIR_ 域名:pvp.net 连接安全性:使用旧式SSL 连接端口:5223 连接服务器:chat.euw1.
Protocol: XMPP
Username: <Your username>
Password: AIR_<Your LoL password>
Domain: pvp.net
Connection security: Use old-style SSL
Connect port: 5223
协议:XMPP
用户名:
密码:AIR_
域名:pvp.net
连接安全性:使用旧式SSL
连接端口:5223
连接服务器:chat.euw1.lol.riotgames.com
我仅以以下形式连接到普通域服务器:
username@domain.com/资源
但是,我需要以某种方式添加connectionserver(chat.euw1.lol.riotgames.com)
我真的希望有人熟悉agsXMPP,可以帮助我
提前谢谢 好吧,我只是感到困惑,也许现在探索新的LIB已经太晚了 但是,如果有人像我一样在连接方面遇到困难,下面是一个关于如何使用此库测试登录的简单解决方案:
XmppClientConnection xmpp = new XmppClientConnection("pvp.net");
xmpp.UseSSL = true;
xmpp.Port = 5223;
xmpp.ConnectServer = "chat.euw1.lol.riotgames.com";
xmpp.Open("username", "AIR_password");
xmpp.OnLogin += delegate(object o) { MessageBox.Show("logged in"); };