Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.19 KB

dnssdserviceinstance_registerdatagramsocketasync_325046438.md

File metadata and controls

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

Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.RegisterDatagramSocketAsync

-description

Asynchronously registers a datagram (UDP) socket listener for the service, on a 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

RegisterDatagramSocketAsync(DatagramSocket)