+ log.msg('Starting the DHT')
+ myDHT = DHT.DHT()
+
+ if IDHTStatsFactory.implementedBy(DHT.DHT):
+ log.msg("Starting the DHT's HTTP stats displayer")
+ factory = myDHT.getStatsFactory()
+ s = strports.service('tcp:'+config.get('DEFAULT', 'port'), factory)
+ s.setServiceParent(application)
+
+ reactor.callLater(0, myDHT.loadConfig, config, config.get('DEFAULT', 'DHT'))
+ reactor.callLater(0, myDHT.join)