Message 73035 - Python tracker
Thorben, is the problem still there if you use fork() rather than launching a separate thread for the server? The implementation of the recv() method is straightforward and I don't see anything that could cause a huge latency there, it's just a simple wrapper over the C library's recv() function. The waiting certainly occurs inside the OS rather than inside the Python interpreter.