diff options
Diffstat (limited to 'module/remote/SocketServer.py')
-rw-r--r-- | module/remote/SocketServer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/remote/SocketServer.py b/module/remote/SocketServer.py index 817e956aa..e1b41dd1d 100644 --- a/module/remote/SocketServer.py +++ b/module/remote/SocketServer.py @@ -35,6 +35,7 @@ class MainServerSocket(asyncore.dispatcher): def handle_accept(self): newSocket, address = self.accept() print "Connected from", address + print newSocket SecondaryServerSocket(newSocket, self.pycore) def handle_close(self): print "going to close" @@ -54,7 +55,7 @@ class SecondaryServerSocket(asynchat.async_chat): def found_terminator(self): rep = self.handler.proceed(self.data) self.sendall(rep+"\n") - print "push" + print "data arrived" self.data = "" #having fun with the data def handle_close(self): |