Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

dnssdserviceinstance_registerstreamsocketlistenerasync_1523484391.md

File metadata and controls

30 lines (21 loc) · 1.24 KB
-api-id -api-type
M:Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.RegisterStreamSocketListenerAsync(Windows.Networking.Sockets.StreamSocketListener,Windows.Networking.Connectivity.NetworkAdapter)
winrt method

Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.RegisterStreamSocketListenerAsync

-description

Asynchronously registers a stream (TCP) socket listener for the service, on the given socket and network adapter.

-parameters

-param socket

Describes the socket that this service instance uses to listen for new service clients.

-param adapter

Specifies the network adapter this service uses to listen for new service clients.

-returns

On successful completion of the asynchronous operation, returns an object describing the results of registration.

-remarks

-examples

-see-also

RegisterStreamSocketListenerAsync(StreamSocketListener)