I’ve made changes to the way the broadcaster works.
We now listen on all interfaces on the device, including IPv6 interfaces. Not sure if it actually does work on an ipv6 only stack since I haven’t tested yet.
So since the app now listens to multiple interfaces, the UDP broadcast packet contains a list of strings instead of just one address.
This is what the class looks like now:
[DataContract]
public class APIServerInfo
{
[DataMember]
public string[] Addresses { get; set; }
[DataMember]
public int Port { get; set; }
}