Kaydet (Commit) bedc3431 authored tarafından Georg Brandl's avatar Georg Brandl

#4752: actually use custom handler in example.

üst 6f193e0e
...@@ -448,7 +448,7 @@ This is the server side:: ...@@ -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::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment