[This documentation is preliminary and is subject to change.]
Applies to: Metro style apps | desktop apps
Provides socket control data on a StreamSocket object.
Syntax
var streamSocketControl = StreamSocket.Control;
Attributes
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The StreamSocketControl class has these types of members:
Methods
The StreamSocketControl class inherits methods from the Object class (C#/VB/C++).
Properties
The StreamSocketControl class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | A value that indicates whether keep-alive packets are sent to the remote destination on a StreamSocket object. | |
| Read/write | A value that indicates whether the Nagle algorithm is used on a StreamSocket object. | |
| Read/write | The size, in bytes, of the send buffer to be used for sending data on a StreamSocket object. | |
| Read/write | The hop limit on an outbound packet sent to a unicast IP address by the StreamSocket object. | |
| Read/write | The quality of service on a StreamSocket object. |
Remarks
The StreamSocketControl class provides access to advanced socket control data on a StreamSocket object.
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
See also
Build date: 5/22/2012
