Answer the question
In order to leave comments, you need to log in
How to check if the socket server is busy on behalf of the client?
How to check if the socket server is busy on behalf of the client?
When there are several clients and you need to sort through the list of free servers.
Implementation on the node js Net library, and on the python socket.
Servers are written in python, clients are written in node
Answer the question
In order to leave comments, you need to log in
you have a strange statement of the question: the server should not be busy - it should receive the request and put it in the queue.
if you literally answer: a special request that will return the download (although this is strange if your server may be "busy") or a banal timeout.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question