public GooddayHost(string instanceName, string serviceType, ushort port, string domain = "local") { _instanceName = instanceName.WithoutPostfix(); _serviceType = serviceType.UnderscorePrefix(); _domain = domain; _port = port; _clients = Zeroconf.CreateUdpClients().ToList(); }
public GooddayClient(string serviceType, string domain = "local") { _serviceType = serviceType.UnderscorePrefix(); _domain = domain; _clients = Zeroconf.CreateUdpClients().ToList(); }