Ejemplo n.º 1
0
def dht_connect():
    dht = ProcessingDHT(
        addr="",
        port=45000,
        console_logging=True,
        log_level=logging.DEBUG,
    )
    dht.start()
Ejemplo n.º 2
0
def dht_connect():
    dht = ProcessingDHT(
                addr="",
                port=45000,
                console_logging=True,
                log_level=logging.DEBUG,
             )
    dht.start()
Ejemplo n.º 3
0
def dht_connect():
    parent, child = Pipe()
    dht = ProcessingDHT(addr="",
                        port=55000,
                        console_logging=True,
                        log_level=logging.DEBUG,
                        boot_addr="192.168.1.1",
                        boot_port=45000,
                        pipe=child)
    dht.start()
    sleep(5)
    dht["123"] = "values123"
Ejemplo n.º 4
0
def dht_connect():
    parent, child = Pipe()
    dht = ProcessingDHT(
                addr="",
                port=55000,
                console_logging=True,
                log_level=logging.DEBUG,
                boot_addr="192.168.1.1",
                boot_port=45000,
                pipe = child
             )
    dht.start()
    sleep(5)
    dht["123"] = "values123"