Logo Search packages:      
Sourcecode: znc version File versions

void Csock::SetTimeout ( int  iTimeout,
u_int  iTimeoutType = TMO_ALL 

Currently this uses the same value for all timeouts, and iTimeoutType merely states which event will be checked for timeouts

Definition at line 1310 of file Csocket.cpp.

Referenced by CHTTPSock::Connected(), CDCCSock::Connected(), and CDCCBounce::Connected().

      m_iTimeoutType = iTimeoutType;
      m_itimeout = iTimeout;

Generated by  Doxygen 1.6.0   Back to index