diff --git a/server/NetGenieSrv.py b/server/NetGenieSrv.py index 48eb586..05dd89e 100644 --- a/server/NetGenieSrv.py +++ b/server/NetGenieSrv.py @@ -1,6 +1,13 @@ #!/bin/env python3 -def check_bridge_socket():: +import socket; +import sys; + +def init_socket(): + # Create a TCP/IP socket + sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + +def check_bridge_socket(): evt = None return evt @@ -9,7 +16,6 @@ def handle_bridge_evt(evt): TODO: Whatever bridge events to handle """ - def check_debug_socket(): dbg_evt = None return dbg_evt