librnr/sock.c
void SocketDelete(Socket_T *pSocket)
{
  if( pSocket == NULL )
  {
    return;
  }

  delete(pSocket->m_sLocalName);
  delete(pSocket->m_sRemoteName);
  SimpleBufDelete(pSocket->m_pIOBuf[SOCK_IO_READ]);
  SimpleBufDelete(pSocket->m_pIOBuf[SOCK_IO_WRITE]);
  delete(pSocket);
}
/*!
 * \brief Delate an allocated socket.
 *
 * \warning Socket should be closed.
 */
\brief Delate an allocated socket.
\warning Socket should be closed.
\ brief Delate an allocated socket . \ warning Socket should be closed .
void SocketDelete(Socket_T *pSocket)
{
  if( pSocket == NULL )
  {
    return;
  }
  delete(pSocket->m_sLocalName);
  delete(pSocket->m_sRemoteName);
  SimpleBufDelete(pSocket->m_pIOBuf[SOCK_IO_READ]);
  SimpleBufDelete(pSocket->m_pIOBuf[SOCK_IO_WRITE]);
  delete(pSocket);
}
void SocketDelete ( Socket_T * pSocket ) { if ( pSocket == NULL ) { return ; } delete ( pSocket -> m_sLocalName ) ; delete ( pSocket -> m_sRemoteName ) ; SimpleBufDelete ( pSocket -> m_pIOBuf [ SOCK_IO_READ ] ) ; SimpleBufDelete ( pSocket -> m_pIOBuf [ SOCK_IO_WRITE ] ) ; delete ( pSocket ) ; }
\brief Delate an allocated socket.
\ brief Delate an allocated socket .