Logo Search packages:      
Sourcecode: znc version File versions

void CDCCSock::SockError ( int  iErrno  )  [virtual]

Override these functions for an easy interface when using the Socket Manager Don't bother using these callbacks if you are using this class directly (without Socket Manager) as the Socket Manager calls most of these callbacks

A sock error occured event

Reimplemented from Csock.

Definition at line 48 of file DCCSock.cpp.

References Csock::GetSockName().

                                   {
      DEBUG_ONLY(cout << GetSockName() << " == SockError(" << iErrno << ")" << endl);
      m_pUser->PutModule(m_sModuleName, ((m_bSend) ? "DCC -> [" : "DCC <- [") + m_sRemoteNick + "][" + m_sFileName + "] - Socket Error [" + CString(iErrno) + "]");
}


Generated by  Doxygen 1.6.0   Back to index