summaryrefslogtreecommitdiffstats
path: root/module/remote/SocketServer.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-31 21:06:18 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-31 21:06:18 +0200
commit3755da2af7e3f79171d505dd81e0c0b63b4adb9f (patch)
treeb2267b76fe897c3c27ce6ed2a019de08c1394647 /module/remote/SocketServer.py
parentxupi.in works again (diff)
downloadpyload-3755da2af7e3f79171d505dd81e0c0b63b4adb9f.tar.xz
gui socket finally works
Diffstat (limited to 'module/remote/SocketServer.py')
-rw-r--r--module/remote/SocketServer.py3
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):