[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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."""