for example, I have such a simple code block, the main function is to receive http requests through the flask application, then judge the validity, and then send the combed data to other modules using tcp. So should the class that sends tcp requests inherit threading.Thread or multiprocessing.Process? Currently, flask applications are hosted on the main process, and sending tcp information can be regarded as an IO operation. Because in addition to sending data using tcp, another tcp port is monitored to receive data.