0
我不能傍回PING到IRC,发回了“你必须先注册”的错误,这里是我使用的代码:VB6/IRC PING和PONG问题
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
任何帮助?