summaryrefslogtreecommitdiffstats
path: root/tupkg
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-02-20 11:23:05 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-02-20 11:23:05 -0500
commita669db5c7a4fc93859c6465b234dbf12f178390d (patch)
tree9d8dc063fd891579bd73dea622bf4af415e7a372 /tupkg
parent24c9955b3c71e4009b1286152c7187197d2da205 (diff)
downloadaurweb-a669db5c7a4fc93859c6465b234dbf12f178390d.tar.xz
tupkgs: Print date and time when a client connects.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg')
-rwxr-xr-xtupkg/server/tupkgs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index ec96d4b..dab4e58 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()