def hostConnect(self, port = 0, ipaddress=''):
        self.peerType = base.SERVER
        self.role = base.HOST_ROLE
        self.state = base.STATE_CONNECTING
        self.connection = reactor.listenTCP(port, self, backlog=1, interface=ipaddress)
        self.port = self.connection.getHost().port
        self.logger.info('Listening for peers at %s:%d' % (ipaddress, self.port))
        return self.port
Initiate a peer-to-peer session as the host by listening on the
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/sub_collab/peer/basic.py/BasicPeer.hostConnect