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

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 1285 of file Csocket.cpp.

{
      m_iTimeoutType = iTimeoutType;
      m_itimeout = iTimeout;
}


Generated by  Doxygen 1.6.0   Back to index