StreamSocketControl class

Expand
This topic has not yet been rated - Rate this topic

StreamSocketControl class

[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.

PropertyAccess typeDescription

KeepAlive

Read/writeA value that indicates whether keep-alive packets are sent to the remote destination on a StreamSocket object.

NoDelay

Read/writeA value that indicates whether the Nagle algorithm is used on a StreamSocket object.

OutboundBufferSizeInBytes

Read/writeThe size, in bytes, of the send buffer to be used for sending data on a StreamSocket object.

OutboundUnicastHopLimit

Read/writeThe hop limit on an outbound packet sent to a unicast IP address by the StreamSocket object.

QualityOfService

Read/writeThe 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

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

How to use advanced socket controls
StreamSocket
StreamSocket.Control

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD