switch back to using peek to see if bytes are coming

This commit is contained in:
Jeff Hill
2002-12-10 17:04:59 +00:00
parent 057dc7e2b2
commit be1b93bca0

View File

@@ -1342,7 +1342,7 @@ void tcpiiu::flushRequest ()
void tcpiiu::blockUntilBytesArePendingInOS ()
{
#if 1
#if 0
FD_SET readBits;
FD_ZERO ( & readBits );
while ( this->state == tcpiiu::iiucs_connected ) {
@@ -1412,7 +1412,7 @@ void tcpiiu::blockUntilBytesArePendingInOS ()
bool tcpiiu::bytesArePendingInOS () const
{
#if 1
#if 0
FD_SET readBits;
FD_ZERO ( & readBits );
FD_SET ( this->sock, & readBits );