January 7th, 2005, 08:31 PM
My Last Question
This might not actually be my "last question", but my bot now connects to battle.net, it can send messages, and be online. My only problem is that this only happens if I do not send my dataArrival. And when I do not do that, I can't receive any data from battle.net (messages, users joining, etc.). I'll show the code in VB6, and what I changed it to in Python.
Private Sub Winsock2_DataArrival(ByVal bytesTotal As Long)
'Battle.net Data Arrival
Dim strTmp As String
Winsock2.GetData strTmp, vbString
strTemp = ""
My biggest problem is, where does this strTmp come from?