Beispiel #1
0
def main():
    port, switch = pylehash.get_switch_from_args()
    stdio.StandardIO(InteractWithSwitch(switch))
    pylehash.reactor.listenUDP(port, switch)
    pylehash.reactor.run()
Beispiel #2
0
#!/usr/bin/env python

from pylehash import get_switch_from_args, run_switch

if __name__ == '__main__':
    port, switch = get_switch_from_args()
    run_switch(port, switch)
Beispiel #3
0
def main():
    port, switch = pylehash.get_switch_from_args()
    stdio.StandardIO(BulletinAppUI(switch))
    pylehash.reactor.listenUDP(port, switch)
    pylehash.reactor.run()