+4 votes

We can connect to a server by manually typing it's IP but how to get list of available servers in a local network ?

in Engine by (736 points)

I'd like to know this too. I would have though making some sort of clone of Bonjour, but I'm not sure how to go about that

What about using brute force?

1 Answer

+3 votes
Best answer

We can get list of available server by listening / broadcasting server info to broadcast address i.e 255.255.255.255 .

And check LanServerBroadcast it is a simple node for listening and broadcasting lan games. Just add that node to your project and you can get list of available lan servers.

by (736 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.