0

ユーザー名に@が含まれているサーバーに接続しようとしていますが、毎回そのエラーが発生します。何かアイデアはありますか?

    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
4

1 に答える 1

0

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 Function
于 2013-03-20T13:08:53.920 に答える