DatagramSocket.Control | control property
Gets socket control data on a DatagramSocket object.
Syntax
Property value
Type: DatagramSocketControl
Socket control data on a DatagramSocket object.
Remarks
The Control property gets the DatagramSocketControl instance associated with a DatagramSocket object. The DatagramSocketControl instance can then be used to get or set control data used by the DatagramSocket. The only control data supported is the QualityOfService property which indicates the quality of service that DatagramSocket object should provide.
Any changes to the DatagramSocketControl property values must be set before the DatagramSocket is bound or connected. So changes to the QualityOfService property must be set before the BindEndpointAsync, BindServiceNameAsync, or one of the ConnectAsync methods is called on the DatagramSocket.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
|
Capabilities |
|
See also
Build date: 2/25/2013