summaryrefslogtreecommitdiff
path: root/daemon.py
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-14 14:49:54 +0200
committerAleš Smodiš <aless@guru.si>2015-09-14 14:49:54 +0200
commitafdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 (patch)
treed052125c6fc4fb4803b10dd20d3c24fc3a2711f9 /daemon.py
parentd82013c214021d6e5480d18105760fa70cfc708b (diff)
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.
Diffstat (limited to 'daemon.py')
-rw-r--r--daemon.py6
1 files changed, 4 insertions, 2 deletions
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()