So I'm writing a multiplayer client using a TCP Server written in Python, and the client written in BlitzMAX. The problem is, sometimes the server will send junk packets or blank packets (because the client is using ReadLine, so it has to receive an endline character), and the client gets backlogged. Is there any way in BlitzMAX to just read the latest packet from the stream, or to not even read blank packets? The problem is that in order to check if a packet is blank, I have to read it and process it....
Any suggestions?
Thanks!
foosh
Any suggestions?
Thanks!
foosh