我正在尝试连接到用户名中包含@的服务器,但每次都会收到该错误,您有什么想法吗?
With jcSender
.User = username
.Password = password
.NetworkHost = "chat.na1.lol.riotgames.com"
.Port = 5223
.SSL = True
.PlaintextAuth = True
.Resource = "xiff"
.AutoReconnect = True
.AutoRoster = True
.AutoPresence = True
End With发布于 2013-03-20 21:08:54
用JID解决了
Public Function Leaguelogin(ByRef USER As String, ByRef PASSWORD As String)
Dim account As New jabber.JID(USER + "@pvp.net/xiff")
Dim j As New JabberClient
Try
j.AutoPresence = True
j.AutoLogin = True
j.Server = "pvp.net"
j.NetworkHost = "chat.na1.lol.riotgames.com"
j.SSL = True
j.Port = 5223
j.PlaintextAuth = True
j.User = account.User
j.Password = "AIR_" + PASSWORD
j.Connect()
j.Login()
j.IsAuthenticated = True
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Functionhttps://stackoverflow.com/questions/15490827
复制相似问题