def _send(self):
    data = self._stats.popleft()
    while self._stats:
        stat = self._stats.popleft()
        if (((len(stat) + len(data)) + 1) >= self._maxudpsize):
            self._client._after(data)
            data = stat
        else:
            data += ('\n' + stat)
    self._client._after(data)
def _send(self):
    data = self._stats.popleft()
    while self._stats:
        stat = self._stats.popleft()
        if (((len(stat) + len(data)) + 1) >= self._maxudpsize):
            self._client._after(data)
            data = stat
        else:
            data += ('\n' + stat)
    self._client._after(data)