Logo Search packages:      
Sourcecode: znc version File versions

void Csock::SetRate ( u_int  iBytes,
unsigned long long  iMilliseconds 
) [virtual]

sets the rate at which we can send data

iBytes the amount of bytes we can write
iMilliseconds the amount of time we have to rate to iBytes

Definition at line 1655 of file Csocket.cpp.

      m_iMaxBytes = iBytes;
      m_iMaxMilliSeconds = iMilliseconds;

Generated by  Doxygen 1.6.0   Back to index