incomingBytesPresent renamed to dgInBytesPending, but this function
is not currently used
This commit is contained in:
@@ -394,13 +394,14 @@ casDGIntfIO::osdSend ( const char * pBufIn, bufSizeT size, // X aCC 361
|
||||
return outBufClient::flushNone;
|
||||
}
|
||||
}
|
||||
|
||||
bufSizeT casDGIntfIO::incomingBytesPresent () const // X aCC 361
|
||||
|
||||
bufSizeT casDGIntfIO ::
|
||||
dgInBytesPending () 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 ) {
|
||||
char sockErrBuf[64];
|
||||
epicsSocketConvertErrnoToString ( sockErrBuf, sizeof ( sockErrBuf ) );
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
static bufSizeT optimumInBufferSize ();
|
||||
|
||||
bufSizeT incomingBytesPresent () const;
|
||||
bufSizeT dgInBytesPending () const;
|
||||
bufSizeT osSendBufferSize () const ;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user