librnr/sock.c
size_t SocketBufGetLen(Socket_T *pSocket, int eIOBuf)
{
  CHKPTR(pSocket, (size_t)0);
  SOCK_CHK_IO(eIOBuf, (size_t)0);

  return SimpleBufHasLen(pSocket->m_pIOBuf[eIOBuf]);
}
/*!
 * \brief Get number of bytes in Socket buffer.
 *
 * \param pSocket   Pointer to Socket.
 * \param eIOBuf    One of: \ref SOCK_IO_READ \ref SOCK_IO_WRITE.
 *
 * \return Returns number of bytes currently in buffer.
 */
\brief Get number of bytes in Socket buffer.
\param pSocket   Pointer to Socket.

\return Returns number of bytes currently in buffer.
\ brief Get number of bytes in Socket buffer . \ param pSocket Pointer to Socket . \ return Returns number of bytes currently in buffer .
size_t SocketBufGetLen(Socket_T *pSocket, int eIOBuf)
{
  CHKPTR(pSocket, (size_t)0);
  SOCK_CHK_IO(eIOBuf, (size_t)0);
  return SimpleBufHasLen(pSocket->m_pIOBuf[eIOBuf]);
}
size_t SocketBufGetLen ( Socket_T * pSocket , int eIOBuf ) { CHKPTR ( pSocket , ( size_t ) 0 ) ; SOCK_CHK_IO ( eIOBuf , ( size_t ) 0 ) ; return SimpleBufHasLen ( pSocket -> m_pIOBuf [ eIOBuf ] ) ; }
\brief Get number of bytes in Socket buffer.
\ brief Get number of bytes in Socket buffer .