#4752: actually use custom handler in example.

This commit is contained in:
Georg Brandl 2008-12-27 17:42:40 +00:00
parent 6f193e0e95
commit bedc343145
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ This is the server side::
if __name__ == "__main__": if __name__ == "__main__":
HOST, PORT = "localhost", 9999 HOST, PORT = "localhost", 9999
server = SocketServer.UDPServer((HOST, PORT), BaseUDPRequestHandler) server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler)
server.serve_forever() server.serve_forever()
This is the client side:: This is the client side::