'Send targets to scan to `agent`, depending on how many it
can receive.'

def feed(self, agent, maxnbr=None):

    for _ in range(max(agent.may_receive(), (maxnbr or 0))):
        addr = utils.int2ip(next(self.targiter))
        with open(os.path.join(agent.get_local_path('input'), ('%s.%s' % (self.visiblecategory, addr))), 'w') as fdesc:
            fdesc.write(('%s\n' % addr))
