I'm trying to get details from a game server. Basically I would like my application to be able to retrieve ingame statistics without using the game client (to play). Using a sniffer I can see that the packets VB is sending are identical to that which the client sends (so a good start I guess). Connection to the IP/Port also works.
Now my problem is handling (or getting) received data. I've set the localport to the one the server usually responds with (Winsock1.LocalPort = 2892). Currently I have:
I'm really interested in learning about this. So my main question is how do I handle any incoming data or how do I know that data is actually being sent back?Code:Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) Winsock1.GetData Data, vbString Winsock1.LocalPort = 2892 END SUB
Thanks for any help




Reply With Quote