|
@@ -3,6 +3,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
import socket
|
|
|
import struct
|
|
|
import sys
|
|
@@ -361,7 +369,6 @@ def post_descriptor(s, descriptor):
|
|
|
send_message(s,MSG_TYPE.POSTDESCRIPTOR,descriptor)
|
|
|
tp,body = receive_reply(s,[MSG_TYPE.DONE])
|
|
|
|
|
|
-
|
|
|
def _unterminate(s):
|
|
|
if s[-1] == '\0':
|
|
|
return s[:-1]
|
|
@@ -438,7 +445,6 @@ def do_main_loop(host,port):
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|