Hi There,
The MDNS.begin has 2 parameters, the service name and the number of services.
When I add more serivces than one (in the example I added 4), I only see the last one appear on the network, sometimes another one.
I guess it needs to flush on every addService but it doesnt.
Does anybody know how to solve this?
thanks!
Best, Fertje
The MDNS.begin has 2 parameters, the service name and the number of services.
When I add more serivces than one (in the example I added 4), I only see the last one appear on the network, sometimes another one.
I guess it needs to flush on every addService but it doesnt.
Does anybody know how to solve this?
Code:
MDNS.begin("MyName", 4); //.local Domain name and number of services //.local Domain name and number of services
MDNS.setServiceName("Service1");
MDNS.addService("_apple-midi._udp", 5004);
MDNS.setServiceName("Service2");
MDNS.addService("_apple-midi._udp", 5006);
MDNS.setServiceName("Service3");
MDNS.addService("_apple-midi._udp", 5008);
MDNS.setServiceName("Service4");
MDNS.addService("_apple-midi._udp", 5010);
thanks!
Best, Fertje