summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-02-20 17:23:05 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-02-20 17:23:05 +0100
commita669db5c7a4fc93859c6465b234dbf12f178390d (patch)
tree9d8dc063fd891579bd73dea622bf4af415e7a372
parent24c9955b3c71e4009b1286152c7187197d2da205 (diff)
downloadaur-a669db5c7a4fc93859c6465b234dbf12f178390d.tar.gz
aur-a669db5c7a4fc93859c6465b234dbf12f178390d.tar.xz
tupkgs: Print date and time when a client connects.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rwxr-xr-xtupkg/server/tupkgs1
1 files changed, 1 insertions, 0 deletions
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()