Answer the question
In order to leave comments, you need to log in
What is the best way to find a server on a local network?
I am writing a client-server, in advance the IP of the computer on which the server will be unknown. Tell me the best way to find a computer in LAN that has a program hanging on a specific port.
Only one thing comes to mind: iterate through the range of possible IPs and try to connect to the port. Maybe there is an intelligent solution?
P.S.Python.
PS I do not ask for the code. Prompt the algorithm.
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