StreamSocketListenerControl class
Provides socket control data on a StreamSocketListener object.
Syntax
Attributes
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The StreamSocketListenerControl class has these types of members:
Methods
The StreamSocketListenerControl class inherits methods from the Object class (C#/VB/C++).
Properties
The StreamSocketListenerControl class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | The quality of service to be set on a StreamSocket object created when a connection is received by the StreamSocketListener object. |
Remarks
The StreamSocketListenerControl class provides access to advanced socket control data on a StreamSocketListener object. The only control data supported is the QualityOfService property which indicates the quality of service to be set on a StreamSocket object created when a connection is received by the StreamSocketListener object.
A StreamSocketListenerControl object is automatically created with the parent StreamSocketListener object. The StreamSocketListener.Control property provides access to the associated StreamSocketListenerControl object.
The following example creates a StreamSocketListener, and then demonstrates how to set the QualityOfService property to LowLatency. After this is done, the app can bind and listen on the StreamSocketListener.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps, desktop apps] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps, desktop apps] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
|
Capabilities |
|
See also
- Other resources
- How to use advanced socket controls (Windows Store apps using JavaScript and HTML)
- How to use advanced socket controls (Windows Store apps using C#/VB/C++ and XAML)
- Reference
- Object
- StreamSocketListener
- StreamSocketListener.Control
Build date: 2/25/2013