There is a syntax error in the client side code of "SocketServer.UDPServer Example" in http://docs.python.org/library/socketserver.html: import socket import sys HOST, PORT = "localhost" data = " ".join(sys.argv[1:]) Obviously, it should be: HOST, PORT = "localhost", 9999 -- Leo Jay