if (!WaitForData(Socket->SocketHandle));
throw ESocketError("没有数据到来");
Socket->ReciveBuf(&count, sizeof(count));
while (count > 0)
{
if (!WaitForData(Socket->SocketHandle)) continue;
int ret = Socket->ReceiveBuf((void*)buffer, sizeof(buffer));
Stream->WriteBuffer(buffer, ret);
count -= ret;
}