Share via


XboxLiveSocketKind Enum

Definition

Defines constants that specify the kinds of sockets recognized by this API.

public enum class XboxLiveSocketKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract, 65536)]
enum class XboxLiveSocketKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract), 65536)]
public enum XboxLiveSocketKind
var value = Windows.Networking.XboxLive.XboxLiveSocketKind.none
Public Enum XboxLiveSocketKind
Inheritance
XboxLiveSocketKind
Attributes

Windows requirements

Device family
Xbox One System Apps Extensions for the UWP (introduced in 10.0.0.1)
Xbox Live Extension SDK (introduced in 10.0.10240.0)
Xbox One Extensions for the UWP (introduced in 10.0.10240.0)
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Networking.XboxLive.XboxLiveSecureSocketsContract (introduced in v1.0)

Fields

Name Value Description
None 0

No socket kind is specified. This value should be used in your code only for data validation purposes.

Datagram 1

Datagram (UDP).

Stream 2

Stream (TCP).

Applies to