DnssdServiceInstance.RegisterStreamSocketListenerAsync DnssdServiceInstance.RegisterStreamSocketListenerAsync DnssdServiceInstance.RegisterStreamSocketListenerAsync DnssdServiceInstance.RegisterStreamSocketListenerAsync DnssdServiceInstance.RegisterStreamSocketListenerAsync Method

Definition

Overloads

RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener)

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

RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter)

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

RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener) RegisterStreamSocketListenerAsync(StreamSocketListener)

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

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

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

RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter) RegisterStreamSocketListenerAsync(StreamSocketListener, NetworkAdapter)

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

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

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