stevenarella
stevenarella copied to clipboard
server_list: automatically show LAN servers
Vanilla Minecraft has an option to open a single player world to LAN play. Other vanilla clients will automatically show these LAN servers in the multiplayer screen. Stevenarella should show these automatically as well rather than having to add it manually every time (the port changing every time you start such a server makes this more annoying as well).
https://wiki.vg/Server_List_Ping#Ping_via_LAN_.28Open_to_LAN_in_Singleplayer.29 https://wiki.vg/Code_Snippets https://gist.github.com/timmyRS/3760aa3cfbef822bac57fbccde73c119
A simple multicast UDP protocol (see also: protocol/src/protocol/mod.rs // TODO SRV record support
)