void SendThread::writeInternal(Array<BYTE> data) { if (data.GetPt() == NULL || data.GetSize() == 0) return; connection->write(data); }