From afdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Mon, 14 Sep 2015 14:49:54 +0200 Subject: Reimplemented communication with the client side. * Implemented a node web server supporting asynchronous websocket and long-polling communication with clients. * Implemented TCP communication between python middleware and node web server. --- daemon.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'daemon.py') diff --git a/daemon.py b/daemon.py index 0809004..bc8df3e 100644 --- a/daemon.py +++ b/daemon.py @@ -2,5 +2,7 @@ # coding=utf-8 if __name__ == '__main__': - import server - server.start() + # import server + # server.start() + import server.socket + server.socket.serve_forever() -- cgit v1.2.1