TCP stream keeps closing randomly

BlitzMax Forums/BlitzMax Beginners Area/TCP stream keeps closing randomly

flatbmx(Posted 2012) [#1]
I made a 2d server-client fps game, and now at random times the streams reach eof and the player is kicked from my server. Would there be any underlieing causes such as the stream was too large, or anything like that? I would post souce, but its pretty big.


Derron(Posted 2012) [#2]
EOF = no further stream data
Timeout = other side of the connection isn't there any longer.


EOF in your case just means: there is no more data to process in this "loop"/round - may be after doing the other update/draw stuff, there is more to process (next time you do the while not stream.eof ...wend)


bye
Ron