November 2018
Intermediate to advanced
446 pages
12h 11m
English
We will now illustrate that the server that we currently have cannot have multiple clients at the same time. First, execute the Chapter18/example3.py file to run the server again, as follows:
> python3 example3.pyServer up, running, and waiting for call on localhost 8080
Similar to what we did in the previous examples, let's now open another Terminal and use Telnet into the running server:
> telnet localhost 8080Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.<welcome: starting in sum mode>
To create the second client for this server, open another Terminal and type in the same telnet command, as follows:
> telnet localhost 8080Trying 127.0.0.1...Connected to localhost.Escape character ...
Read now
Unlock full access