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

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

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