Logo Search packages:      
Sourcecode: znc version File versions  Download package

template<class T>
virtual void TSocketManager< T >::DelSockByAddr ( T *  pcSock  )  [inline, virtual]

Delete a sock by addr its position is looked up the socket is deleted, the appropriate call backs are peformed and its instance is removed from the manager

Definition at line 1612 of file Csocket.h.

      {
            for( u_int a = 0; a < this->size(); a++ )
            {
                  if ( pcSock == (*this)[a] )
                  {
                        DelSock( a );
                        return;
                  }
            }
      }


Generated by  Doxygen 1.6.0   Back to index