Answer the question
In order to leave comments, you need to log in
How to efficiently use server resources?
I decided to practice writing client-server applications. On the server we have something like this:
while True:
server.acceptNewClients()
server.handleQueries()
while True:
server.acceptNewClients()
server.handleQueries()
time.sleep(0.1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question