'Increments port to use when using remote agents in Hogwild mode.'

def share(self):

    if (not hasattr(self, 'lastport')):
        self.lastport = self.port
    shared = {}
    shared['port'] = (self.lastport + 1)
    shared['class'] = type(self)
    shared['opt'] = self.opt
    self.lastport += 1
    return shared
