You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s.connect((HOST, PORT)) # client-side, connects to a host
while True: message = raw_input("Your Message: ") s.send(message) print "Awaiting reply" reply = s.recv(1024) # 1024 is max data that can be received print "Received ", repr(reply)