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:
psychon
2009-06-29 11:26:19 +00:00
parent 65510446df
commit 442aee2baf
14 changed files with 49 additions and 35 deletions
+3 -3
View File
@@ -116,16 +116,16 @@ typedef vector< PString > VPString;
class CModPerl;
static CModPerl *g_ModPerl = NULL;
class CPerlSock : public Csock
class CPerlSock : public CZNCSock
{
public:
CPerlSock() : Csock()
CPerlSock() : CZNCSock()
{
m_iParentFD = -1;
SetSockName(ZNCSOCK);
}
CPerlSock(const CS_STRING & sHost, u_short iPort, int iTimeout = 60)
: Csock(sHost, iPort, iTimeout)
: CZNCSock(sHost, iPort, iTimeout)
{
m_iParentFD = -1;
SetSockName(ZNCSOCK);