diff options
author | Aleš Smodiš <aless@guru.si> | 2015-09-14 14:49:54 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-09-14 14:49:54 +0200 |
commit | afdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 (patch) | |
tree | d052125c6fc4fb4803b10dd20d3c24fc3a2711f9 /daemon.py | |
parent | d82013c214021d6e5480d18105760fa70cfc708b (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.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() |