organise files, use same port number in examples
This commit is contained in:
@@ -28,7 +28,7 @@ class MyTCPHandler(SocketServer.BaseRequestHandler):
|
||||
# self.wfile.write(self.data.upper())
|
||||
|
||||
if __name__ == "__main__":
|
||||
HOST, PORT = "localhost", 9999
|
||||
HOST, PORT = "localhost", 10000
|
||||
|
||||
# Create the server, binding to localhost on port 9999
|
||||
server = SocketServer.TCPServer((HOST, PORT), MyTCPHandler)
|
||||
|
||||
Reference in New Issue
Block a user