DnssdServiceInstance.RegisterDatagramSocketAsync DnssdServiceInstance.RegisterDatagramSocketAsync DnssdServiceInstance.RegisterDatagramSocketAsync DnssdServiceInstance.RegisterDatagramSocketAsync DnssdServiceInstance.RegisterDatagramSocketAsync Method

Definition

Overloads

RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket)

Asynchronously registers a datagram (UDP) socket listener for the service, on a given socket.

RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter)

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

RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket) RegisterDatagramSocketAsync(DatagramSocket)

Asynchronously registers a datagram (UDP) socket listener for the service, on a given socket.

public : IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket)
IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket) const;
public IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket)
Public Function RegisterDatagramSocketAsync(socket As DatagramSocket) As IAsyncOperation(Of DnssdRegistrationResult)
Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.registerDatagramSocketAsync(socket).done( /* Your success and error handlers */ );

Parameters

socket
DatagramSocket DatagramSocket DatagramSocket

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

Returns

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

See Also

RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter) RegisterDatagramSocketAsync(DatagramSocket, NetworkAdapter)

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

public : IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket, NetworkAdapter adapter)
IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket, NetworkAdapter adapter) const;
public IAsyncOperation<DnssdRegistrationResult> RegisterDatagramSocketAsync(DatagramSocket socket, NetworkAdapter adapter)
Public Function RegisterDatagramSocketAsync(socket As DatagramSocket, adapter As NetworkAdapter) As IAsyncOperation(Of DnssdRegistrationResult)
Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance.registerDatagramSocketAsync(socket, adapter).done( /* Your success and error handlers */ );

Parameters

socket
DatagramSocket DatagramSocket DatagramSocket

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

adapter
NetworkAdapter NetworkAdapter NetworkAdapter

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.

See Also