-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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.