Je ne suis pas en mesure de PONG retour le PING IRC, qui renvoie une erreur « Vous devez vous inscrire d'abord », voici le code que je utilise:VB6/IRC PING PONG & Problème
Private Sub wsConnect_DataArrival(ByVal bytesTotal As Long)
Dim strData As String
wsConnect.GetData strData
If InStr(strData, "PING") <> 0 Then
MsgBox ("Success!") 'Check it's receiving it.
wsConnect.SendData Replace(strData, "PING", "PONG") & vbCrLf
End If
Me.txtDataIn.Text = Me.txtDataIn.Text & strData
End Sub
De l'aide?