-api-id | -api-type |
---|---|
M:Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.RegisterDatagramSocketAsync(Windows.Networking.Sockets.DatagramSocket,Windows.Networking.Connectivity.NetworkAdapter) |
winrt method |
Asynchronously registers a datagram (UDP) socket listener for the service, on a given socket and network adapter.
Describes the socket that this service instance uses to listen for new service clients.
Specifies the network adapter this service uses to listen for new service clients.
On successful completion of the asynchronous operation, returns an object describing the results of registration.