mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Add and use CZNCSock instead of Csock everywhere
This class will be used to implement async DNS in a later commit. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1550 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -103,14 +103,14 @@ const CString& CTimer::GetDescription() const { return m_sDescription; }
|
||||
/////////////////// !Timer ///////////////////
|
||||
|
||||
/////////////////// Socket ///////////////////
|
||||
CSocket::CSocket(CModule* pModule) : Csock() {
|
||||
CSocket::CSocket(CModule* pModule) : CZNCSock() {
|
||||
m_pModule = pModule;
|
||||
m_pModule->AddSocket(this);
|
||||
EnableReadLine();
|
||||
SetMaxBufferThreshold(10240);
|
||||
}
|
||||
|
||||
CSocket::CSocket(CModule* pModule, const CString& sHostname, unsigned short uPort, int iTimeout) : Csock(sHostname, uPort, iTimeout) {
|
||||
CSocket::CSocket(CModule* pModule, const CString& sHostname, unsigned short uPort, int iTimeout) : CZNCSock(sHostname, uPort, iTimeout) {
|
||||
m_pModule = pModule;
|
||||
m_pModule->AddSocket(this);
|
||||
EnableReadLine();
|
||||
|
||||
Reference in New Issue
Block a user