Python multiprocessing and networking on Windows
问题 I'm trying to implement a tcp 'echo server'. Simple stuff: Client sends a message to the server. Server receives the message Server converts message to uppercase Server sends modified message to client Client prints the response. It worked well, so I decided to parallelize the server; make it so that it could handle multiple clients at time. Since most Python interpreters have a GIL, multithreading won't cut it. I had to use multiproces... And boy, this is where things went downhill. I'm