Kaydet (Commit) 48239615 authored tarafından R. David Murray's avatar R. David Murray

Issue 7363: fix indentation in socketserver udpserver example.

üst 246ec332
...@@ -455,9 +455,9 @@ This is the server side:: ...@@ -455,9 +455,9 @@ This is the server side::
socket.sendto(data.upper(), self.client_address) socket.sendto(data.upper(), self.client_address)
if __name__ == "__main__": if __name__ == "__main__":
HOST, PORT = "localhost", 9999 HOST, PORT = "localhost", 9999
server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler) 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