|
|
@ -158,17 +158,10 @@ def parseArgs(): |
|
|
|
def main(): |
|
|
|
""" |
|
|
|
The NGServer class implements our NetGenie debug/bridge server. |
|
|
|
|
|
|
|
ng = NGServer(bridge_ip=args.bridge_ip, |
|
|
|
bridge_port=args.bridge_port, |
|
|
|
ioip=args.ioip, |
|
|
|
incoming_port=args.incoming_port, |
|
|
|
outgoing_port=args.outgoing_port) |
|
|
|
|
|
|
|
# asyncio.run(start_thread(ng)) |
|
|
|
""" |
|
|
|
# Get the arguments |
|
|
|
args = parseArgs() |
|
|
|
|
|
|
|
# Start the server. |
|
|
|
startServerAndWait(args) |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|