Godot Version
4.3
Question
How to get_packet() from peer.host?
Im working on server browser for a game. Server browser will work like this: Player hosts game, create_server() → server sends packet with game info to master list service → player client open server browser and it refreshes → gets a list from masterlist → Joins game.
My plan was to use dpmaster (dark places) as masterlist, this uses simple protoccol. It only requires that you send packets from IP:PORT that the game is hosted on. While i can send the packets from host using peer.host.socket_send() but i need to receive reply from masterlist to make the connection and add host game data to the list. This ensures that the connection is possible and NAT is configured correctly, and game is joinable.
Is there a way to read a reply on peer.host from dpmaster or any other service that sends packet ?