This commit is contained in:
Jeena Paradies 2011-04-11 10:53:47 +02:00
commit 0718031e22
10 changed files with 3251 additions and 4 deletions

View file

@ -60,7 +60,8 @@ while True:
s.close()
"""
time.sleep(2)
HOST = 'localhost' # The remote host
PORT = int(sys.argv[1]) # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
@ -81,4 +82,3 @@ print "Token:", token
print "Data: ", ' '.join(data.split(" ")[1:])
s.close()
"""