Skip to content

Conversation

@google-labs-jules
Copy link

This change adds support for zero-configuration networking (Bonjour/mDNS) to allow iOS clients to automatically discover and connect to servers running on the local network. This eliminates the need for users to manually enter the server's IP address.


PR created automatically by Jules for task 14446353984152062474

nickv2002 and others added 2 commits September 17, 2025 17:51
This change adds support for zero-configuration networking (Bonjour/mDNS)
to allow iOS clients to automatically discover and connect to servers
running on the local network.

On the server side, a new `Bonjour` class has been added to handle the
advertising of the service. It manually constructs and broadcasts mDNS
packets containing the necessary PTR, SRV, and A records. This is done
without modifying the `multicast_dns` package, by using a
`RawDatagramSocket`.

On the client side, a new server discovery dialog has been added to the
settings menu. This dialog uses the `multicast_dns` package to discover
servers advertising the `_frosthaven._tcp.local` service. When a user
selects a server from the list, the IP address and port are
automatically populated in the connection fields.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

This change adds support for zero-configuration networking (Bonjour/mDNS)
to allow iOS clients to automatically discover and connect to servers
running on the local network.

On the server side, a new `Bonjour` class has been added to handle the
advertising of the service. It manually constructs and broadcasts mDNS
packets containing the necessary PTR, SRV, and A records. This is done
without modifying the `multicast_dns` package, by using a
`RawDatagramSocket`.

On the client side, a new server discovery dialog has been added to the
settings menu. This dialog uses the `multicast_dns` package to discover
servers advertising the `_frosthaven._tcp.local` service. When a user
selects a server from the list, the IP address and port are
automatically populated in the connection fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants