H
H
HokafD2020-09-09 06:48:45
Python
HokafD, 2020-09-09 06:48:45

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

1 answer(s)
D
DevMan, 2020-09-09
@HokafD

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 question

Ask a Question

731 491 924 answers to any question