From a669db5c7a4fc93859c6465b234dbf12f178390d Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Fri, 20 Feb 2009 11:23:05 -0500 Subject: tupkgs: Print date and time when a client connects. Signed-off-by: Loui Chang --- tupkg/server/tupkgs | 1 + 1 file changed, 1 insertion(+) diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs index ec96d4bd..dab4e584 100755 --- a/tupkg/server/tupkgs +++ b/tupkg/server/tupkgs @@ -226,6 +226,7 @@ class ServerSocket(threading.Thread): sread, swrite, serror = select.select([self.socket],[self.socket],[self.socket],1) if sread: (clientsocket, address) = self.socket.accept() + print time.asctime(time.gmtime()) print "New connection from " + str(address) ct = ClientSocket(clientsocket) ct.start() -- cgit v1.2.3-24-g4f1b