void nuiTCPClient::OnCanWrite() { if (mWriteDelegate) mWriteDelegate(*this); SendWriteBuffer(); if (mAutoDelete && mOut.GetSize() == 0) delete this; }
void nuiSocket::OnCanWrite() { if (mWriteDelegate) mWriteDelegate(*this); }