Oct-10-2017, 02:29 PM
Obviously, this is not good enough for real-world use. As a simple example of why... let's say a client uses a
while True
block to constantly stream an infinite number of characters to the server, without ever sending a newline. The server process fail with a MemoryError. But that's why the "bare minimum" is almost never used in the real world, regardless of topic.