bcb6+indy9.0 TCP ReadBuffer的时候不知道长度,TimeOut后Buffer里没有任何数据。该如何处理

bcb6+indy9.0 TCP ReadBuffer的时候不知道长度,TimeOut后Buffer里没有任何数据。bcb6+indy9.0 TCP ReadBuff

bcb6+indy9.0 TCP ReadBuffer的时候不知道长度,TimeOut后Buffer里没有任何数据。
bcb6+indy9.0 TCP ReadBuffer(buffer,len)的时候不知道buffer长度,TimeOut后Buffer里没有任何数据为什么呢?需要这么设置吗?

[解决办法]
可以先用ReadFromStack()得到数据长度