-api-id | -api-type |
---|---|
M:Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.RegisterStreamSocketListenerAsync(Windows.Networking.Sockets.StreamSocketListener) |
winrt method |
Asynchronously registers a stream (TCP) socket listener for the service, on the given socket.
Describes the socket that this service instance uses to listen for new service clients.
On successful completion of the asynchronous operation, returns an object describing the results of registration.
RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter)