def recv_body(self, to_recv):
    body = ''
    while to_recv > 0:
      buf = self.sock.recv(to_recv)
      if buf == '':
        self.close()
        raise EOFError, 'Socket Closed'
      to_recv -= len(buf)
      body = body + buf
    return body
dataset/ETHPy150Open doozr/Xdebug-for-Vim/plugin/debugger.py/DbgProtocol.recv_body/original