Answer the question
In order to leave comments, you need to log in
How to quickly find servers on the network?
Tell me, what are the ways to quickly find computers on the network?
Let's say I made a game with me and anyone can put a server for themselves (as in counter)
, I understand perfectly well that when you create a server in counter, information about it flies to the valve server, and in fact the client takes the ip of the server from valve, but I have there is no central server where information about the created servers would wander.
So far, I see only one solution for myself, this is to sort through all ip 0.0.0.0 -> 255.255.255.255 in turn. and try to search for servers among them. Unfortunately, this is a rather lengthy process. Even a simple enumeration (without polling the servers themselves takes a decent amount of time, about 30 minutes).
How can this process be accelerated?
Answer the question
In order to leave comments, you need to log in
So far, I see only one solution for myself, this is to sort through all ip 0.0.0.0 -> 255.255.255.255 in turn. and try to search for servers among them
but I don’t have a central server where I would wander infa about the created servers
I perfectly understand that when you create a server in counter, information about it flies to the valve servers, and in fact the client takes the ip of the server with valve, but I don’t have a central server where info about the created servers would wander
Create your own IRC channel and have the servers check in every, say, 30 minutes.
Then the task of the client is to get the chat history in 30 minutes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question