diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-02-20 17:23:05 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-02-20 17:23:05 +0100 |
commit | a669db5c7a4fc93859c6465b234dbf12f178390d (patch) | |
tree | 9d8dc063fd891579bd73dea622bf4af415e7a372 /tupkg | |
parent | 24c9955b3c71e4009b1286152c7187197d2da205 (diff) | |
download | aur-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>
Diffstat (limited to 'tupkg')
-rwxr-xr-x | tupkg/server/tupkgs | 1 |
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() |