Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StreamSocketListener.Control | control property

Applies to Windows and Windows Phone

Gets socket control data on a StreamSocketListener object.

Syntax


var control = streamSocketListener.control;

Property value

Type: StreamSocketListenerControl

Socket control data on a StreamSocketListener object.

Remarks

The Control property gets the StreamSocketListenerControl instance associated with a StreamSocketListener object.

A StreamSocketListenerControl object is automatically created with the parent StreamSocketListener object. The StreamSocketListenerControl instance can then be used to get or set control data used by the StreamSocketListener object. These properties on the StreamSocketControl instance include the following:

Any changes to the StreamSocketListenerControl property values must be set before the StreamSocketListener is bound. So changes to the QualityOfService property must be set before the BindServiceNameAsync or BindEndpointAsync method is called on the StreamSocketListener.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

DLL

Windows.Networking.dll

Capabilities

ID_CAP_NETWORKING [Windows Phone]

See also

StreamSocket
StreamSocketListener
StreamSocketListenerControl

 

 

Show:
© 2014 Microsoft