Jfk,
I am reading data with ReadLine(). Blitz's TCP already times out if the connection breaks, and supposedly gives a -1 result for Eof().
Anyway, I'm not downloading any files, that uses a whole seperate stream with FTP. I'm just reading in the nonsense data (message of the day and all that, about 20 lines worth) that the server sends me, before being ready to receive commands.
I think there's either a bug in Blitz (Eof() returning True when it shouldn't), or the documentation is wrong.
I am reading data with ReadLine(). Blitz's TCP already times out if the connection breaks, and supposedly gives a -1 result for Eof().
Anyway, I'm not downloading any files, that uses a whole seperate stream with FTP. I'm just reading in the nonsense data (message of the day and all that, about 20 lines worth) that the server sends me, before being ready to receive commands.
I think there's either a bug in Blitz (Eof() returning True when it shouldn't), or the documentation is wrong.