I understand now. But how can that fit in the example of client/server application. How can the new thread stop the freezing when a client connects to it? Does that new thread handles to connection with the client, and the actuall thread does the other stuff?