incomingBytesPresent renamed to inCircuitBytesPending but this

function isnt currently used
This commit is contained in:
Jeff Hill
2009-07-30 23:51:48 +00:00
parent b4bc931c72
commit 30a02b365f
2 changed files with 5 additions and 6 deletions

View File

@@ -267,15 +267,14 @@ xBlockingStatus casStreamIO::blockingState() const
{
return this->blockingFlag;
}
// casStreamIO :: incomingBytesPresent()
bufSizeT casStreamIO :: incomingBytesPresent () const
// casStreamIO :: inCircuitBytesPending()
bufSizeT casStreamIO :: inCircuitBytesPending () const
{
int status;
osiSockIoctl_t nchars = 0;
status = socket_ioctl ( this->sock, FIONREAD, &nchars ); // X aCC 392
status = socket_ioctl ( this->sock, FIONREAD, &nchars );
if ( status < 0 ) {
int localError = SOCKERRNO;
if (

View File

@@ -31,7 +31,7 @@ public:
void xSetNonBlocking ();
const caNetAddr getAddr() const;
void hostName ( char *pBuf, unsigned bufSize ) const;
bufSizeT incomingBytesPresent () const;
bufSizeT inCircuitBytesPending () const;
bufSizeT osSendBufferSize () const;
private:
SOCKET sock;