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

void Csock::ReachedMaxBuffer (  )  [virtual]

Override these functions for an easy interface when using the Socket Manager Don't bother using these callbacks if you are using this class directly (without Socket Manager) as the Socket Manager calls most of these callbacks This WARNING event is called when your buffer for readline exceeds the warning threshold and triggers this event. Either Override it and do nothing, or SetMaxBufferThreshold() This event will only get called if m_bEnableReadLine is enabled

Definition at line 2023 of file Csocket.cpp.

Referenced by PushBuff().

{
      std::cerr << "Warning, Max Buffer length Warning Threshold has been hit" << endl;
      std::cerr << "If you don't care, then set SetMaxBufferThreshold to 0" << endl;
}


Generated by  Doxygen 1.6.0   Back to index