Skip to content

Use zeroconf to locate the server on the LAN #10

@cwbooth5

Description

@cwbooth5

We can use something like mDNS to register the server on the local network. ALL connected TCP stacks listening for broadcasts are going to respond to or use mDNS queues. We can code the clients to search around for something like "_pcvc._tcp.local." and push across the IP address and port of the server in these registrations. That would eliminate the need to punch in the IP and port and users would instead just click 'find server' and off it went.

Then we'd have to find a way to deal with multiple servers on the LAN, which could possibly happen. If we want to prevent problems, I suggest having all servers generate a small random ID for themselves and advertise this along with the IP and port so the clients can differentiate between servers. I could see someone using this to control multiple PCs on the same LAN.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions