[svn r472] Changed all the g_debug, g_warning and g_debug calls, to the gmyth_debug status/error printing function.
6 def __init__(self, config):
8 self.port = int(config.get("Comm", "port"))
11 self.tcp = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
12 self.tcp.bind( (self.host, self.port) )
16 return time.strftime("%Y-%m-%d %H:%M:%S");
18 def getMsg(self, size):
23 self.data = self.tcp.accept()
24 print "[%s] Received request from ip=%s" % (self.now(), self.data[1] )
27 def disconnect_client(self, connection):