Checking network input processing by Python for a multi-threaded server

dieter dieter at handshake.de
Wed May 1 02:05:08 EDT 2019


Markus Elfring <Markus.Elfring at web.de> writes:
> ...
>> As you say to have created a "multi-threaded TCP server", I assume
>> that your server spawns a thread for each TCP connection.
>
> Is this the software behaviour we usually get from
> the class “socketserver.ThreadingMixIn”?

Look at the source -- and there look especially for so called "docstring"s:

: class ThreadingMixIn:
:    """Mix-in class to handle each request in a new thread."""



More information about the Python-list mailing list