Resolve() public method

public Resolve ( string protocol ) : void
protocol string
return void
Esempio n. 1
0
 public static MDnsClient CreateAndResolve(string protocol)
 {
     MDnsClient client = new MDnsClient(new IPEndPoint(IPAddress.Any, 5353));
     client.client.MulticastLoopback = true;
     //client.client.MulticastLoopback = true;
     client.client.JoinMulticastGroup(EndPoint.Address, 10);
     client.Resolve(protocol);
     return client;
 }
Esempio n. 2
0
        public static MDnsClient CreateAndResolve(string protocol)
        {
            MDnsClient client = new MDnsClient(new IPEndPoint(IPAddress.Any, 5353));

            client.client.MulticastLoopback = true;
            //client.client.MulticastLoopback = true;
            client.client.JoinMulticastGroup(EndPoint.Address, 10);
            client.Resolve(protocol);
            return(client);
        }