Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public GooddayClient(string serviceType, string domain = "local")
 {
     _serviceType = serviceType.UnderscorePrefix();
     _domain      = domain;
     _clients     = Zeroconf.CreateUdpClients().ToList();
 }