How to get list of servers in a local network ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By supper_raptor

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

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

andersmmg | 2019-12-05 17:13

What about using brute force?

supper_raptor | 2019-12-05 18:34

:bust_in_silhouette: Reply From: supper_raptor

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.